User forums > Help
"invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping..."
Kylotan:
A fresh installation of Code::Blocks (July 21st nightly) seems unable to find my compiler.
MinGW is installed to E:\code\cpp\mingw.
I installed the contents of the 7 packages listed here: http://wiki.codeblocks.org/index.php?title=MinGW_installation#GCC_3.4.5_manual_install
Then in Code::Blocks, I set the GCC GNU Compiler to look in "E:\code\cpp\mingw" as the compiler's installation directory. Under Search directories, for Compiler/Linker/Resource compiler, all the correct directories are there.
So what's the problem? Am I missing yet another setting? Please don't tell me to install the compiler to C:\MinGW - not everybody can go dropping new directories on the root of their C: drive.
raph:
You just need to set Settings->Compiler and debugger->Toolchain executables->Compiler's installation directory to E:\code\cpp\mingw.
Kylotan:
That's exactly what I said I'd done.
raph:
It should work then. My mingw 3.4.5 installation is in E:\mingw
Does the file E:\code\cpp\mingw\bin\mingw32-gcc.exe exist and did you modify Toolchain executables->Program files?
Kylotan:
My settings:
My directory structure:
I don't actually have gdb in there, but surely that shouldn't matter for the build stage.
Navigation
[0] Message Index
[#] Next page
Go to full version