我正在使用Ubuntu终端运行cmake .
但是,找不到增强库。
The following Boost libraries could not be found:
boost_program_options
boost_signals
boost_serialization
boost_unit_test_framework
使用以下命令:
cmake . -DBoost_USE_STATIC_LIBS=ON
同样,问题仍然存在,如果使用
location boost_unit_test_framework
,则不会得到任何结果。如何安装这些参考?
最佳答案
您可以使用apt-get命令(需要sudo)sudo apt-get install libboost-all-dev
How to Install boost on Ubuntu?