cmake使用问题

bing20138 bing20138 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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!
...全文
评论
收藏 已收藏
分享
返回顶部
bing20138
非技术区 493 成员 5,882 内容