栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

2021-10-10 解决cmake报错:cmake The source directory “xxxx“ does not appear to contain CMakeLists.txt

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

2021-10-10 解决cmake报错:cmake The source directory “xxxx“ does not appear to contain CMakeLists.txt

解决cmake报错:cmake The source directory “xxxx” does not appear to contain CMakeLists.txt

执行 cmake命令时报错:

The source directory “xxxx” does not appear to contain CMakeLists.txt

简单来说就是当前目录里面没有 CMakeLists.txt文件。
在网上查找各种解决方法可都没有效果,试了一下重命名CMakeLists.txt文件(原来文件可能是输入法错误)
结果成功了。
有时候一个困扰自己的问题并不是因为那些很复杂的bug,恰恰是那些简单、基础的细节没有注意,千里之堤溃于蚁穴,养成一个良好的编程习惯十分重要

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/311019.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号