我对 CMake 还很陌生,当我尝试编译时,我得到了以下输出。我整天都在这无济于事 - 有没有人有这方面的经验?相关目录和文件的权限似乎很好。非常感谢任何帮助!谢谢
The C compiler identification is GNU 4.6.2
The CXX compiler identification is GNU 4.6.2
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: C:/buildtemp/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe
"cmTryCompileExec2665670929/fast"
C:/MinGW/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec2665670929.dir\build.make
CMakeFiles/cmTryCompileExec2665670929.dir/build
process_begin: CreateProcess(C:\MinGW\bin\mingw32-make.exe,
C:/MinGW/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec2665670929.dir\build.make
CMakeFiles/cmTryCompileExec2665670929.dir/build, ...) failed.
make (e=5): Access is denied.
mingw32-make.exe: *** [cmTryCompileExec2665670929/fast] Error 5
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
Configuring incomplete, errors occurred!