2016-08-18 130 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我沒有得到任何結果。

我如何安裝這些參考?

回答