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!