I try to use this library : https://brainflow.readthedocs.io/ (https://github.com/brainflow-dev/brainflow) in my c++ project, handle with qmake. I'm using Qt. I'm on windows 10. I downloaded the library and built it with .\tools\build_win64_vs19.cmd (inside the lib) and then add them to my .pro file like that :
unix|win32: LIBS += -L$$PWD/../../../Desktop/brainflowD/compiled/Debug/ -lBoardController
INCLUDEPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
DEPENDPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
unix|win32: LIBS += -L$$PWD/../../../Desktop/brainflowD/compiled/Debug/ -lDataHandler
INCLUDEPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
DEPENDPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
unix|win32: LIBS += -L$$PWD/../../../Desktop/brainflowD/compiled/Debug/ -lGanglionLib
INCLUDEPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
DEPENDPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
unix|win32: LIBS += -L$$PWD/../../../Desktop/brainflowD/compiled/Debug/ -lMLModule
INCLUDEPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
DEPENDPATH += $$PWD/../../../Desktop/brainflowD/compiled/Debug
and this line to include headers :
INCLUDEPATH += "C:\Users\fajed\Desktop\brainflowD/installed64/inc"
When i'm trying to use function from the library, i have the following error :
main.obj:-1: erreur : LNK2019: unresolved external symbol "public: static void __cdecl BoardShim::enable_dev_board_logger(void)" (?enable_dev_board_logger@BoardShim@@SAXXZ) referenced in function main
I try a lot of things from others tickets but couldn't make it work. Do you have any idea ?