2016-08-18 131 views
1

我正在使用ubuntu终端来运行cmake . 但是,无法找到boost库。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我没有得到任何结果。

我如何安装这些参考?

回答