-------------- Build: Debug in camerafirstStep (compiler: GNU GCC Compiler)--------------- mingw32-g++.exe -Wall -fexceptions -g -I"C:\Baumer GAPI SDK 1.7\Components\Dev\C_C++\Inc" -I"C:\Baumer GAPI SDK 1.7\Components\Bin" -I"C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\GigE" -c C:\Users\Macisse\Desktop\camerafirstStep\main.cpp -o obj\Debug\main.o C:\Users\Macisse\Desktop\camerafirstStep\main.cpp: In function 'int main()': C:\Users\Macisse\Desktop\camerafirstStep\main.cpp:21:6: warning: unused variable 'camera_count' [-Wunused-variable] C:\Users\Macisse\Desktop\camerafirstStep\main.cpp:22:18: warning: unused variable 'pSystem' [-Wunused-variable] C:\Users\Macisse\Desktop\camerafirstStep\main.cpp:23:18: warning: unused variable 'pCamera' [-Wunused-variable] C:\Users\Macisse\Desktop\camerafirstStep\main.cpp:24:17: warning: unused variable 'pImage' [-Wunused-variable] mingw32-g++.exe -o bin\Debug\camerafirstStep.exe obj\Debug\main.o "C:\Baumer GAPI SDK 1.7\Components\Dev\C_C++\Lib\x86\bgapi.lib" "C:\Baumer GAPI SDK 1.7\Components\Dev\C_C++\Lib\x86\bgapi.lib" "C:\Baumer GAPI SDK 1.7\Components\Dev\C_C++\Lib\x64\bgapi.lib" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\GigE\bgapi.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\GigE\BO_GigEFilterDrv.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\GigE\img_proc.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\GigE\MathParser.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\GigE\sys_gige.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\CameraLink\bgapi.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\CameraLink\clallserial.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\CameraLink\img_proc.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\CameraLink\MathParser.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\CameraLink\sys_camlink.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\1394\bgapi.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\1394\FxLib.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\1394\img_proc.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\1394\sys_fxlib.dll" "C:\Baumer GAPI SDK 1.7\Components\Bin\x86\Systems\1394\SysInfo.dll" obj\Debug\main.o: In function `ZN5BGAPI12countSystemsEPi': C:/Baumer GAPI SDK 1.7/Components/Dev/C_C++/Inc/bgapi.hpp:120: undefined reference to `_imp__BGAPI_countSystems' collect2.exe: error: ld returned 1 exit status Process terminated with status 1 (0 minutes, 0 seconds) 1 errors, 4 warnings (0 minutes, 0 seconds)