赞
踩
sudo apt-get upgraded解决方法
cmake --version //检查cmake
如果没有报错,说明cmake 安装升级的时候更改了安装路径,基本在/usr/share,或者在。/usr/local/share中,如果
链接出现问题,可以重新安装cmake。
sudo apt-get install build-essentialwget http://www.cmake.org/files/v3.5/cmake-3.5.1.tar.gz //连接网络
tar xf cmake-3.5.1.tar.gz
cd cmake-3.5.1
./configure --prefix=/usr // 配置选择安装路径
make
sudo make install
cmake --version
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。