Author Topic: Can't find compiler ?  (Read 4794 times)

Offline peter_hurley@outlook.com

  • Single posting newcomer
  • *
  • Posts: 5
Can't find compiler ?
« 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 ?.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1563
Re: Can't find compiler ?
« Reply #1 on: July 18, 2023, 11:14:24 am »
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).

Offline maxcy

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: Can't find compiler ?
« Reply #2 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