Author
Topic: I can't use the compiler for the C++ (Read 756 times)

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).

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.

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.