your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found
来源:互联网 发布:护肤品成分检测知乎 编辑:程序博客网 时间:2024/05/22 14:42
问题:
./build.sh -j2 后出现如下提示:
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
解决:
1. 安装g++:
sudo apt-get install g++
2. 设置编译器路径:
cmake -D CMAKE_CXX_COMPILER="g++" CMAKE -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH="/usr/local" .
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
解决:
1. 安装g++:
sudo apt-get install g++
2. 设置编译器路径:
cmake -D CMAKE_CXX_COMPILER="g++" CMAKE -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH="/usr/local" .
- your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found
- CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found
- CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found...问题的解决
- CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found.
- 源码编译出现的问题cmake 提示C compiler was not found和Cxx complier was not found解决办法
- compiler mirror not found
- Compiler tools not found
- Idea Error:java: System Java Compiler was not found in classpath:
- 解决Error:java: System Java Compiler was not found in classpath
- libz was not found
- bisonExe was not found
- the centos disc was not found in any of your drives
- No MyBatis mapper was found in '' package. Please check your configura, Could not autowire field
- Image file was not found.
- NOT_FOUND_ERR:Node was not found
- NotFoundError: Node was not found
- ubuntu下安装nojs error could not configure a cxx compiler configure
- checking for C compiler ... not found
- 黑马程序员_java基础复习之七泛型
- 关于独立游戏开发者营销游戏的建议清单
- windows8安装myeclipse 10.0时出现failed to find a main class in "c:\windows\temp"解决
- SimpleXml例子
- [创业说]一个人的创业时代
- your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found
- c++ builder 获取DBGrid多选数据某个字段的值
- </label>标签使用
- RBM
- js调试之firbug
- 如何释放被占用的COM口?
- Eclipse 安装配置指南
- openfire学习3------->android客户端聊天开发之登录 和 注销登录
- 让你的MFC程序只能开一个例程