Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: peter_hurley@outlook.com on July 18, 2023, 11:06:41 am

Title: Can't find compiler ?
Post by: peter_hurley@outlook.com on July 18, 2023, 11:06:41 am
Hi When I start Code::Blocks I get an error message " Can't find compiler "

Any suggestions to correct this ?.
Title: Re: Can't find compiler ?
Post by: Miguel Gimenez on July 18, 2023, 11:14:24 am
Follow the steps in the wiki (https://wiki.codeblocks.org/index.php/Installing_a_supported_compiler), 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).
Title: Re: Can't find compiler ?
Post by: maxcy on July 19, 2023, 02:42:08 am
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