大家可能会在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