User forums > Help

No compiler

(1/1)

Thr3g0:
Hey guys, brand new to coding and Codeblocks. For some reason no matter which version of Codeblocks I install it keeps saying I don't have a compiler, even though I've specifically selected the versions that state that have a compiler. Everytime I execute my code it does literally nothing at all. Any help in figuring this out would be much appreciated.

Miguel Gimenez:
First, locate where the compiler is installed. If it came with C::B, it should be in the C::B's installation folder, if it is not there you can search for gcc.exe in your system disk.

Once you find it, goto "Settings -> Compiler settings", select "GNU GCC Compiler" and the tab labeled "Toolchain executables"; input the path to gcc.exe in the "Compiler's installation directory" control (without the last "\bin" part, for example C:\MinGW) and click Ok.

Thr3g0:
Got it, that worked perfectly! Thank you so much!

Navigation

[0] Message Index

Go to full version