News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Can't find compiler ?

Started by peter_hurley@outlook.com, July 18, 2023, 11:06:41 AM

Previous topic - Next topic

peter_hurley@outlook.com

Hi When I start Code::Blocks I get an error message " Can't find compiler "

Any suggestions to correct this ?.

Miguel Gimenez

Follow the steps in the wiki, come back if you can not fix it.

If you are trying to use the bundled compiler it should be in a folder called MinGW under the C::B installation folder (under Program files).

maxcy

in a cmd window go to the folder where you are creating the project. Type g++ --version. If you get an answer, your compiler is working from there and you have to back into CB and see if that G++ is working in the CB bin directory. If one of these is working you have to go into settings/compiler and maybe reinstall the compiler you want to use.  If you are updating the compiler, you will want to install from the minGW folder that you downloaded. Not that easy to do. See my forum post on this.
maxcy