错误LNK2019:无法解析的外部符号,来自外部库的函数| Qt | qmake

问题描述

我尝试在我的c ++项目中使用此库:https://brainflow.readthedocs.io/https://github.com/brainflow-dev/brainflow),使用qmake处理。我正在使用Qt。我在Windows 10上。 我下载了该库,并使用。\ tools \ build_win64_vs19.cmd(在lib中)构建了该库,然后将它们添加到我的.pro文件中:

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

,此行包含标题

INCLUDEPATH += "C:\Users\fajed\Desktop\brainflowD/installed64/inc"

当我尝试使用库中的函数时,出现以下错误

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

我尝试了其他门票的许多方法,但无法使其正常工作。你有什么主意吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)