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!
...全文
42 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

488

社区成员

发帖
与我相关
我的任务
社区描述
硬件使用 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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