It is possible to fail to run on newly installed codeblocks and
with the following error message
“HelloWord – Debug” : The compiler’s setup (GNU GCC compiler) is invalid, so Code::Blocks cannot find/run The compiler.
Probably The toolchain path within The compiler options is not setup correctly?! (Do you have a compiler installed?)
Goto “Settings – & gt; The Compiler… -> Global compiler settings-> GNU GCC Compiler-> Toolchain executables “and fix the compiler’s setup.
Nothing to be done (all items are up-to-date).
This is simply a missing configuration file or the wrong location of the root directory of the configuration file
Open Settings-> when prompted; The Compiler… -> Global compiler settings-> GNU GCC Compiler-> Toolchain executables
We can see that the default directory address is C:\MinGW
The following prompt cannot be found
If there is no MinGW in this file
download address: click enter
It is generally best to unzip to the root directory of codeblocks
Then in
Settings->; The Compiler… -> Global compiler settings-> GNU GCC Compiler-> Toolchain executables
To change the root address I have D:\codeblocks\MinGW
Then running the program is no problem
Read More:
- CodeBlocks environment error the compiler could not find a solution to the problem
- codeblocks ERROR: You need to specify a debugger program in the debuggers’s settings.
- The C compiler identification is unknown
- Solve the problem that the newly installed CodeBlocks cannot be compiled and run
- CodeBlocks OpenGL configuration process
- Eclipse .java File Syntax error, parameterized types are only available if source level is 1.5 or
- Install python’s C extension compilation environment under windows (solve “error: command’cl.exe’ failed: No such file or directory”)
- CMake Error at CMakeLists.txt:5 (PROJECT): The CMAKE_C_COMPILER: cl is not a full path
- Install Python C extension compiler environment under windows (solve “error: command” cl.exe ‘ failed: No such file or directory”)
- Configure OpenGL in CodeBlocks
- The cxx compiler identification is unknown
- configure: error: C compiler cannot create executables See `config.log’ for more details
- Configuring OpenGL environment with code blocks16.0 in Windows 10
- Installation and use of OpenGL based on CodeBlocks
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- @Solution to override error
- codeblocks error Tried to Run compiler executable ‘C:\MinGW/bin/mingw32-gcc.exe’,but fail
- Configuring OpenGL with win 10 + CodeBlocks
- eclipse cdt Program “make” not found in PATH
- When angular4.0 starts the project, an error is reported: the “@ angular / compiler cli” package was not properly installed