"C:\clion\CLion 2019.1.2\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" E:\clion\clion工程檔案夾
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU 8.2.0
-- 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:/clion/CLion 2019.1.2/bin/cmake/win/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (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: E:/clion/clion宸ョ鏂囦歡澶/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):C:/mingw/bin/mingw32-make.exe cmTC_c1b8b/fast
C:/mingw/bin/mingw32-make.exe -f CMakeFiles\cmTC_c1b8b.dir\build.make CMakeFiles/cmTC_c1b8b.dir/build
mingw32-make.exe[1]: Entering directory 'E:/clion/clion宸ョ鏂囦歡澶/cmake-build-debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c1b8b.dir/testCCompiler.c.obj
C:\mingw\bin\gcc.exe -o CMakeFiles\cmTC_c1b8b.dir\testCCompiler.c.obj -c E:\clion\clion瀹搞儳鈻奸弬鍥︽婢剁cmake-build-debug\CMakeFiles\CMakeTmp\testCCompiler.c
gcc.exe: error: E:\clion\clion瀹搞儳鈻奸弬鍥︽婢剁cmake-build-debug\CMakeFiles\CMakeTmp\testCCompiler.c: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
CMakeFiles\cmTC_c1b8b.dir\build.make:64: recipe for target 'CMakeFiles/cmTC_c1b8b.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_c1b8b.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'E:/clion/clion宸ョ鏂囦歡澶/cmake-build-debug/CMakeFiles/CMakeTmp'
Makefile:120: recipe for target 'cmTC_c1b8b/fast' failed
mingw32-make.exe: *** [cmTC_c1b8b/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "E:/clion/clion宸ョ鏂囦歡澶/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "E:/clion/clion宸ョ鏂囦歡澶/cmake-build-debug/CMakeFiles/CMakeError.log".
[Finished]
不知為什么cmake出現錯誤請求各位大神幫幫忙
感謝了!!!
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/60477.html
標籤:疑難問題
上一篇:求抖音3D相冊怎么弄
下一篇:會匿的有嗎
