44
—
FAQ AND TROUBLESHOOTING
31
http://www.mingw.org
GENERAL MANUAL — SEP 8, 2022 — RELEASE: V1.1.0
8.2.3 API installation requirements
Before using the qbAPI on your system, if not already installed it is good use to install a c++ compiler.
Below here are listed all the necessary instructions for each operative system.
Linux Ubuntu
Apple macOS
Download
"XCode"
from the App Store, this will install
"gcc/g++"
and
"make"
utilities.
Microsoft Windows
Download
and install it. Open MinGW Installation Manager, from the left panel select basic
setup, then from the right panel select mingw32-base and mingw32-gcc-g++, then click on
Installation -> Apply Changes
. This will install the
gcc/g++
compiler. To use it from the command
line you need to provide to windows the binary path to the executable. Go to System Properties and click
on Environment Variables. In the System Variable windows, look for
path
, select it and click
edit
. Go
to the end of the Variable Value field, add a
;
separator and add the path to the binary folder for gcc
(usually it is in
C:\MinGW\bin
).
1.
2.
3.
4.
WARNING:
Be aware that we support
only serial
port names
between
`COM1`
and
`COM9`
.
Each time you connect a new device to your PC (or even a device to a new PC), you should
check whether it has been set in the proper port range or not.
To change the serial port number:
go under
"Control Panel > Hardware and Sound > Device Manager"
;
explore the
"Ports (COM & LPT)"
branch, right-click on the displayed
`COM`
port
and select
"Proprieties"
;
from there, select the
"Port Settings"
tab and click on the
"Advanced"
button
;
lastly, choose from the drop-down menu a
`COM`
number between
`COM1`
and
`COM9`
and click on
"OK"
.
LINUX FRIENDLY:
You should
have both
"gcc/g++"
and
"make"
already installed if you are running on any
Linux distribution.