Code::Blocks Forums
User forums => Help => Topic started by: doltawan on August 11, 2017, 09:40:27 am
-
I downloaded CB with the mingw on my Windows 7 Professional 32-bit PC, but I keep getting this error message.
"Tawan - 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->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
-
One more picture
-
Please read the message again, UNDERSTAND IT and do what it tells you to do.
-
The "Error" message you are getting is telling you that the %path% environmental variable does not include the the location of the gcc.exe Executable file.
Im not going to do a complete explanation of how to modify the %path% variable. it depends on what OS you are running. But try a google search of "%path% There are several tutorials that are really easy to follow.
-
The "Error" message you are getting is telling you that the %path% environmental variable does not include the the location of the gcc.exe Executable file.
Im not going to do a complete explanation of how to modify the %path% variable. it depends on what OS you are running. But try a google search of "%path% There are several tutorials that are really easy to follow.
The above is NOT correct.
http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps (http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps)
Tim S.
-
As Tim stated, please do not play with your path-variable unless you know what you doand need MinGW on the commandline. You might mess up your system.
Code::Blocks does that for you, without effecting the whole system.
Just follow the steps in the link Tim gave you and it should work.