Error: The C Compiler is not able to compile a simple test program
Hello,
if i want to start my Programm following error shows up on my screen:
Error: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/hunma/.CLion2016.2/system/cmake/generated/untitled1-41cca3c9/41cca3c9/__default__/CMakeFiles/CMakeTmp
Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_d6a48/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_d6a48.dir\build.make CMakeFiles/cmTC_d6a48.dir/build
mingw32-make.exe[1]: Entering directory 'C:/Users/hunma/.CLion2016.2/system/cmake/generated/untitled1-41cca3c9/41cca3c9/__default__/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d6a48.dir/testCCompiler.c.obj
C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_d6a48.dir\testCCompiler.c.obj -c C:\Users\hunma\.CLion2016.2\system\cmake\generated\untitled1-41cca3c9\41cca3c9\__default__\CMakeFiles\CMakeTmp\testCCompiler.c
gcc.exe: error: CreateProcess: No such file or directory
CMakeFiles\cmTC_d6a48.dir\build.make:64: recipe for target 'CMakeFiles/cmTC_d6a48.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_d6a48.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'C:/Users/hunma/.CLion2016.2/system/cmake/generated/untitled1-41cca3c9/41cca3c9/__default__/CMakeFiles/CMakeTmp'
Makefile:125: recipe for target 'cmTC_d6a48/fast' failed
mingw32-make.exe: *** [cmTC_d6a48/fast] Error 2
CMake will not be able to correctly generate this project.
Please sign in to leave a comment.
what is the program you were trying to compile?