天空小小岛技术网站

标题: CMake Error: Could not find CMAKE_ROOT [打印本页]

作者: s.Bo    时间: 2015-4-13 20:42
标题: CMake Error: Could not find CMAKE_ROOT
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/bin/cmake
cmake version 3.2.1


机子原本装了一个cmake  
后来提示版本太低,于是又装了这个 就报些错误

  1. echo $CMAKE_ROOT
复制代码

为空

执行
  1. export CMAKE_ROOT=/usr/local/bin/
复制代码


解决问题




欢迎光临 天空小小岛技术网站 (http://tkxxd.net/) Powered by Discuz! X3.1