Solutions to the problem that CodeBlocks cannot be used

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: