
Take a look at the settings in C::B - Go to Settings-> Compiler-> Toolchain executables.įirst of all, at the top of the window, you must have GNU GCC COMPILER as the selected compiler. I will assume you have set the system path for GCC correctly after installing it. Your compiler setup in Code::Blocks is incorrect If your C::B installation includes a compiler or, as understood from your question, you have installed a compiler separately - skip to next steps.Ģ.

Actually I use C::B on Windows and installing a copy there needs some care to choose the one with preinstalled MinGW compiler, if that is the one the user intends to use. Here are the current Code::Blocks binaries that you can download for your system. You installed Code::Blocks version without the compiler. Terdon gave good suggestions on improving the question. Since you haven't included much information on it I will have to guess on what's most likely your case, considering the most common ones among beginners.

There could be several reasons behind the issue you are having.
