C++ Boost“U程序”选项链接器错误偶数;增强“计划选项”;存在

C++ Boost“U程序”选项链接器错误偶数;增强“计划选项”;存在,c++,boost,linker,mlpack,C++,Boost,Linker,Mlpack,我已经在qmake文件中定义了boost_程序_选项 > CONFIG(debug, debug|release) { > LIBS += -L"C:\boost_1_55_0\stage\lib" -lboost_program_options-mgw48-mt-d-1_55 -lboost_system-mgw48-mt-d-1_55 -lboost_thread-mgw48-mt-d-1_55 } CONFIG(release, debug|release) { &

我已经在qmake文件中定义了boost_程序_选项

> CONFIG(debug, debug|release) {
>     LIBS += -L"C:\boost_1_55_0\stage\lib" -lboost_program_options-mgw48-mt-d-1_55 -lboost_system-mgw48-mt-d-1_55 -lboost_thread-mgw48-mt-d-1_55 }

 CONFIG(release, debug|release) {
>     LIBS += -L"C:\boost_1_55_0\stage\lib" -lboost_program_options-mgw48-mt-1_55 -lboost_system-mgw48-mt-1_55 -lboost_thread-mgw48-mt-1_55 }
我想使用一个名为mlpack的库。并在mingw的帮助下进行了编译。 当我加上

"#include <mlpack/core.hpp>"
如果有人知道我为什么会有这个问题,我将非常感激


关于

Gilles Barges在mlpack邮件列表上报告,通过修改CMakeLists.txt第189行注释掉位,可以解决与boost_程序_选项的链接错误

set(Boost_LIBRARIES "")
有关更多信息,请参阅邮件列表帖子:

set(Boost_LIBRARIES "")