cmake使用问题

bing20138 2019-05-07 05:59:35
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!
...全文
2 点赞 收藏 回复
写回复
回复

还没有回复,快来抢沙发~

发动态
发帖子
非技术区
创建于2007-09-28

307

社区成员

6018

社区内容

硬件使用 非技术区
社区公告
暂无公告