News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

CodeBlocks can't find GCC?

Started by starkos, March 04, 2007, 04:48:00 PM

Previous topic - Next topic

starkos

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!

raph

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.

starkos

That did it thanks! I missed that option in the compiler settings dropdown.