Clion "Cannot load CMake project: CMake executable is incorrect" issue

Aster
人工智能领域新星创作者
2022-11-09 11:19:28

 

Clion hasn't found cmake executable

  1. first case cmake isn't installed :
    1.1. ubuntu : sudo apt-get install cmake
    1.2. Go to Settings->Build,Execution,Deployement-> Toolchains: set cmake executable to custom , and type : which cmake in your console set field right to custom to dir of cmake do same thing for gdb the apply
  2. second case cmake is install then go to (1.2)
  3. https://stackoverflow.com/questions/40922337/clion-cannot-load-cmake-project-cmake-executable-is-incorrect-issue

 3.安装源码包

       根据安装版本修改文件名, 解压压缩包:

tar -zxvf cmake-3.21.2.tar.gz

        进入解压后的文件目录下,执行如下命令
./configure

make
make install

4.检查是否安装成功

cmake -version

第三种:sh安装

下载指定版本的sh文件

Index of /files

安装指令:sudo bash xxxxxx.sh
 

...全文
87 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
Aster 2022-11-09
  • 打赏
  • 举报
回复
Aster 2022-11-09
  • 打赏
  • 举报
回复
Aster 2022-11-09
  • 打赏
  • 举报
回复

sudo apt-get install cmake

64

社区成员

发帖
与我相关
我的任务
社区描述
基于NVIDIA的DeepStream SDK开发技术交流社区。通过DeepStream可从USB/CSI/RTSP相机中获取流数据,用于快速构建具有AI能力的应用程序。
自动驾驶pytorch边缘计算 个人社区 陕西省·西安市
社区管理员
  • 鼾声鼾语
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧