当前位置:   article > 正文

安装完后,执行cmake --version会报如下错误_cmake error: error executing cmake::loadcache(). a

cmake error: error executing cmake::loadcache(). aborting.

【注】安装完后,执行cmake --version会报如下错误

 

CMake Error: Could not find CMAKE_ROOT !!!

CMake has most likely not been installed correctly.

Modules directory not found in

/Applications/CMake 2.8-11.app/Contents/bin

CMake Error: Error executing cmake::LoadCache(). Aborting.

 

【解决方法】

 

先执行:

hash -r

 

然后再执行:cmake --version

 

完美解决

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/51157
推荐阅读
相关标签
  

闽ICP备14008679号