cmake使用问题
root@ubuntu:/opt/n2n/n2n_v2# cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
CMake Error: Generator: execution of make failed. Make command was: mingw32-make "cmTryCompileExec/fast"
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /opt/n2n/n2n_v2/CMakeFiles/CMakeTmp
Run Build Command:mingw32-make "cmTryCompileExec/fast"
No such file or directory
Generator: execution of make failed. Make command was: mingw32-make
"cmTryCompileExec/fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Configuring incomplete, errors occurred!
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
CMake Error: Generator: execution of make failed. Make command was: mingw32-make "cmTryCompileExec/fast"
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /opt/n2n/n2n_v2/CMakeFiles/CMakeTmp
Run Build Command:mingw32-make "cmTryCompileExec/fast"
No such file or directory
Generator: execution of make failed. Make command was: mingw32-make
"cmTryCompileExec/fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Configuring incomplete, errors occurred!
...全文
相关推荐
VScode中使用Cmake遇到的问题及其解决方法(推荐)
主要介绍了VScode中使用Cmake遇到的问题及其解决方法,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
记录使用Cmake生成TensorRT-yolov5时的问题解决 dirent.h
记录使用Cmake生成TensorRT-yolov5时的问题解决 dirent.h
Cmake使用教程介绍CMake如何使用
一个介绍CMake如何使用的文档,应该是从最基础的部分开始的。
cmake OpenCV4.3所需部分文件ffmpeg ippicv等
cmake3.17编译 OpenCV4.3部分文件无法下载,我用的是vs2015, x64模式来进行编译的,具体文件见压缩包,需要的自取。
Clion下的cmake插件
我开始下CLion的时候,总是缺少cmake插件,导入tdm-gcc和dev-gcc都没用,想方设法搞到了这个cmake才成功配置好


非技术区
