CLion's Cmake not working (CMake Error: Generator: execution of make failed. Make command was: “C:/MinGW/bin/mingw32-make.exe” “cmTC_c0942/fast”)

Completed

I have been looking forward to compiling my program: CLion seemed to work fine for the past few months until I got the Windows Feature update 1709 after which the Windows Defender did something!

This is the CMake log:

"C:\Program Files\JetBrains\CLion 2017.3.3\bin\cmake\bin\cmake.exe" -
DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" 
C:\Users\varsh\CLionProjects\codechef
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: 
"C:/MinGW/bin/mingw32-make.exe" "cmTC_c0942/fast"
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files/JetBrains/CLion 
2017.3.3/bin/cmake/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 
(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:/Users/varsh/CLionProjects/codechef/cmake-build-
debug/CMakeFiles/CMakeTmp



Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_c0942/fast"



Generator: execution of make failed.  Make command was:
"C:/MinGW/bin/mingw32-make.exe" "cmTC_c0942/fast"





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 "C:/Users/varsh/CLionProjects/codechef/cmake-build-
debug/CMakeFiles/CMakeOutput.log".
See also "C:/Users/varsh/CLionProjects/codechef/cmake-build-
debug/CMakeFiles/CMakeError.log".

[Failed to reload]

I have tried uninstalling CLion and installing it again. Also, I have uninstalled and installed MinGW completely! It is still not resolved! Someone, please help me! Thanks in advance.

0
2 comments

Hi!

Could you please send us the following files:

See also "C:/Users/varsh/CLionProjects/codechef/cmake-build-
debug/CMakeFiles/CMakeOutput.log".
See also "C:/Users/varsh/CLionProjects/codechef/cmake-build-
debug/CMakeFiles/CMakeError.log".

0
Avatar
Permanently deleted user
0

Please sign in to leave a comment.