大家可能會在cmake時候失敗,可能是之前安裝的boost boost-doc boost-devel ····版本過低。其實呢是yum沒有更新。在cmake之前用>>yum update (不需要輸入>>)更新yum
2016-10-29
CMake Error at cmake/boost.cmake:81 (MESSAGE):
You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>
This CMake script will look for boost in <directory>. If it is not there,
it will download and unpack it (in that directory) for you.
You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>
This CMake script will look for boost in <directory>. If it is not there,
it will download and unpack it (in that directory) for you.
2016-10-29
經過兩天的安裝終于完成了,首先我試過這種cmake編譯安裝,編譯時間太長高達幾十分鐘,最后內存直接崩掉(我是筆記本上的虛擬機資源很少)出現很多問題,各種包的安裝還有包的版本兼容問題,最后放棄這個種安裝方式,選用了不用編譯安裝的包就是二進制的包,安裝過程簡單下載解壓后直接可以配置具體流程這個網址http://www.jb51.net/article/87160.htm?pc 后面出現問題可以發出來,我找了很多的文章才總結出來的。
2016-10-25