CLion集成环境配置实用
来源:互联网 发布:nginx fastcgi temp 编辑:程序博客网 时间:2024/04/30 00:27
mac OS 下载安装后,新建工程报如下错:
Error:Could not find compiler set in environment variable CC:
arm-linux-androideabi-gcc.
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
Error:Could not find cmake module file: /Users/yuqianli/Library/Caches/clion11/cmake/generated/6dec7b0e/6dec7b0e/__default__/CMakeFiles/3.3.2/CMakeCCompiler.cmake
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
Error:Could not find cmake module file: /Users/yuqianli/Library/Caches/clion11/cmake/generated/6dec7b0e/6dec7b0e/__default__/CMakeFiles/3.3.2/CMakeCXXCompiler.cmake
Error:No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
Error:No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
Error:CMAKE_C_COMPILER not set, after EnableLanguage
Error:CMAKE_CXX_COMPILER not set, after EnableLanguage
arm-linux-androideabi-gcc.
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
Error:Could not find cmake module file: /Users/yuqianli/Library/Caches/clion11/cmake/generated/6dec7b0e/6dec7b0e/__default__/CMakeFiles/3.3.2/CMakeCCompiler.cmake
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
Error:Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
Error:Could not find cmake module file: /Users/yuqianli/Library/Caches/clion11/cmake/generated/6dec7b0e/6dec7b0e/__default__/CMakeFiles/3.3.2/CMakeCXXCompiler.cmake
Error:No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
Error:No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
Error:CMAKE_C_COMPILER not set, after EnableLanguage
Error:CMAKE_CXX_COMPILER not set, after EnableLanguage
解决办法:
- 在设置里左边找到 Build
- 展开后找到CMake
- 在CMake具体配置页的CMake options框里填入如下配置项 -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++
0 0
- CLion集成环境配置实用
- CLion+Qt5环境配置
- clion以及cygwin的安装还有clion的环境配置
- Win下CLion+MinGW环境配置
- CLion中配置OpenCV环境问题
- clion下配置Qt开发环境
- Clion c c++ 开发环境配置
- MinGW 安装与CLion IDE环境配置
- Clion配置Opencv环境MacOS教程
- CLion 1.0发布,C/C++跨平台集成开发环境
- 在 Eclipse或CLion 中集成 opengl 环境 (windows+mingw)
- CLion 配置 C C++ 编译环境(MinGW)
- Linux for Ubuntu Clion配置OenGL(C/C++)开发环境
- linux下配置opencv开发环境 opencv + ubuntu + clion
- mac下ffmpeg集成clion
- 集成配置环境-XAMPP
- clion stfp 配置
- clion安装配置
- 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed 分类: PlSql 2012-05-20 1
- 隐马尔可夫(HMM)举例讲解
- KMP字符串模式匹配详解
- java中深拷贝和浅拷贝
- android四大组件详解
- CLion集成环境配置实用
- Error: Cound not create the Java Virtual Machine. Error: A fatal exception has occurred. Program wil
- 面试知识大全
- Building an MFC project for a non-Unicode character set is deprecated
- Unity摄像机跟随Target快速位移和旋转
- 依样画葫芦--不谈原理,只探究IPC机制的实现流程
- fast parse,soft parse,hard parse的区别
- android广播的两种注册方式以及区别
- Android local manifest