现在的位置: 首页 > 综合 > 正文

cmake install on centos6.3

2018年10月26日 ⁄ 综合 ⁄ 共 378字 ⁄ 字号 评论关闭

cmake installation files :  http://www.cmake.org/files/v2.8/?C=M;O=D

note:

centos6.3 must use cmake 2.8.8 

centos6.3 系统需要安装opencv2.4.9,但是安装过程中出现如下错误 :

string does not recognize sub-command md5

网上搜索了一下,发现是编译用的cmake版本太低, 是cmake2.6的版本,需要升级到至少2.8.8,直接去官网下载了最新的2.8.12.2

安装步骤很简单,依次执行如下 :

cd cmake-2.8.12.2

./bootstrap

gmake

gmake install 

安装完成,查看新的版本如下:

[root@AYabc cmake-2.8.12.2]# cmake --version
cmake version 2.8.12.2

【上篇】
【下篇】

抱歉!评论已关闭.