User forums > Help
CodeBlocks can't find GCC?
(1/1)
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.
Navigation
[0] Message Index
Go to full version