Normaliz未定义对`boost :: system :: system_category()'的引用

时间:2017-11-11 11:05:14

标签: c++ macos boost compiler-errors linkage

我正在尝试安装具有NormalizCocoALib等依赖关系的库SCIP。我根据他们的指导做出了依赖。但是,我在Ubuntu和Mac OSX上的make Normaliz时出现错误,

[ 81%] Linking CXX executable normaliz

libnormaliz/libnormaliz.so.3.4.0: undefined reference to `boost::system::system_category()'
libnormaliz/libnormaliz.so.3.4.0: undefined reference to `boost::system::generic_category()'
collect2: error: ld returned 1 exit status
CMakeFiles/normaliz.dir/build.make:99: recipe for target 'normaliz' failed
make[2]: *** [normaliz] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/normaliz.dir/all' failed
make[1]: *** [CMakeFiles/normaliz.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

两周后我真的厌倦了!如何克服?

即使是提升联动问题,如何联系?它没有选择。 至少对像我这样的年轻程序员来说,这种令人头疼的事情会导致对开源的冷漠。 enter image description here

0 个答案:

没有答案