当前位置:   article > 正文

CMake 运行错误could not find CMAKE_ROOT!!!_could not find cmake_root !!! windows

could not find cmake_root !!! windows

phenomenon:

E:\myProjects\CMakeTest\test01>cmake .
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
D:/Program Files/cmake-3.10.2-win64-x64/share/cmake-3.10

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


reason:

 解压后将cmake文件夹copy到另一路径,找不到CMAKE_ROOT

solution:

 直接解压至安装目录,解压即安装;

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

闽ICP备14008679号