Author Topic: CodeBlocks can't find GCC?  (Read 4877 times)

Offline starkos

  • Single posting newcomer
  • *
  • Posts: 8
CodeBlocks can't find GCC?
« on: March 04, 2007, 04:48:00 pm »
I am trying to install the 3/2 snapshot on Windows XP. I have MinGW installed. The MinGW/bin directory is on my path, and I have set the CC and CXX environment variables. I am able to build from the command line. But when I install CodeBlocks it does not detect GCC. I set GCC manually, but when I try to build I get the message '"MyProject - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].'

Any ideas? I'm stuck here. Thanks!

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: CodeBlocks can't find GCC?
« Reply #1 on: March 04, 2007, 05:14:22 pm »
Point Settings->Compiler and Debugger->Global Compiler Settings->GNU GCC Compiler->Toolchain executables->Compilers installation directory to your mingw installation (e.g. C:\MinGW) and check, that in the project settings gcc is selected as compiler.

Offline starkos

  • Single posting newcomer
  • *
  • Posts: 8
Re: CodeBlocks can't find GCC?
« Reply #2 on: March 04, 2007, 05:34:22 pm »
That did it thanks! I missed that option in the compiler settings dropdown.