clion配置运行环境
试了网上n种方法都不行,一直显示测试CMake运行完成但有错误!!!显示如下{:1_937:}{:1_937:}【-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: D:/DevCpp/MinGW32/bin/gcc.exe
-- Check for working C compiler: D:/DevCpp/MinGW32/bin/gcc.exe - broken
CMake Error at D:/CLion/bin/cmake/win/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"D:/DevCpp/MinGW32/bin/gcc.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeTmp
Run Build Command(s):D:/DevCpp/MinGW32/bin/mingw32-make.exe cmTC_0912c/fast && D:/DevCpp/MinGW32/bin/mingw32-make.exe-f CMakeFiles\cmTC_0912c.dir\build.make CMakeFiles/cmTC_0912c.dir/build
mingw32-make: Entering directory 'C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0912c.dir/testCCompiler.c.obj
D:\DevCpp\MinGW32\bin\gcc.exe -o CMakeFiles\cmTC_0912c.dir\testCCompiler.c.obj -c C:\Users\缂佸棝娲﹀ù渚�鐡夾ppData\Local\Temp\cmake_check_environment\_build16740896224053456572\CMakeFiles\CMakeTmp\testCCompiler.c
gcc.exe: error: C:\Users\缂佸棝娲﹀ù渚�鐡夾ppData\Local\Temp\cmake_check_environment\_build16740896224053456572\CMakeFiles\CMakeTmp\testCCompiler.c: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
mingw32-make: *** Error 1
mingw32-make: Leaving directory 'C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeTmp'
mingw32-make: *** Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeOutput.log".
See also "C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeError.log".
错误代码: 1】
诚心求大佬帮忙求大佬 最后一行有个cmakeerror的log文件,贴出来看看?
页:
[1]