美文网首页
CMake Error: Could not find CMAK

CMake Error: Could not find CMAK

作者: echo_adc8 | 来源:发表于2019-05-09 09:57 被阅读0次

引用https://www.cnblogs.com/blackay03/p/9062503.html

源码安装的cmake,升级之后报错啦
因为不在usr/local/share 目录中了,手动删除目录之后还是不行,百度一番之后

CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/bin

找到cmake 目录下的install_manifest.txt 文件,集中删除里面的内容即可。
cat install_manifest.txt | sudo xargs rm

相关文章

网友评论

      本文标题:CMake Error: Could not find CMAK

      本文链接:https://www.haomeiwen.com/subject/isuioqtx.html