我正在使用 ubuntu 终端运行 cmake 。
但是,找不到 boost 库。
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
,我不会得到任何结果。
如何安装这些引用?
最佳答案
关于c++ - cmake 命令找不到 boost 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39009271/