User forums > Help

I can't use the compiler for the C++

(1/2) > >>

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

doltawan:
One more picture

Commaster:
Please read the message again, UNDERSTAND IT and do what it tells you to do.

RyanR:
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.

stahta01:

--- Quote from: RyanR on August 19, 2017, 04:58:33 pm ---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.

--- End quote ---

The above is NOT correct.
http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version