User forums > Help
invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] Error
jacksunny:
I continue to get the following error message:
"SayHello - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Because of this I cannot use C::B for anything. I tried searching Google and went through pages of results. I watched a YouTube video on how to set it up but nothing will work
I am running C::B 10.05. Please help!!! Thanks
MortenMacFly:
Did you search the forums?
Did you install a compiler at all?
Did you do verify what the error message tells:
--- Quote from: jacksunny on April 02, 2011, 04:50:58 pm ---Probably the toolchain path within the compiler options is not setup correctly?!
--- End quote ---
???
jacksunny:
Yes, Yes and Yes. That's what I don't understand. On other forum posts people ask the same question and they are told something like: Make sure the compilers installation directory is set to C:\CodeBlocks\MinGW or something similar and it works for everyone else, just not for me.
MortenMacFly:
--- Quote from: jacksunny on April 02, 2011, 05:10:22 pm ---Yes, Yes and Yes. That's what I don't understand. On other forum posts people ask the same question and they are told something like: Make sure the compilers installation directory is set to C:\CodeBlocks\MinGW or something similar and it works for everyone else, just not for me.
--- End quote ---
Ok, some questions:
- what platform? (Windows?!)
- where did you install Code::Blocks into?
- what setup did you choose (the one bundled with compiler or without)
- where is your GCC (MinGW) compiler installed?
- where do you find the following executables:
- mingw32-c++.exe
- mingw32-g++.exe
- mingw32-gcc.exe
- what did you setup in the global compiler options?
- what tool chain path's exactly?
- what names for the executables exactly?
jacksunny:
I am running Windows 7 64-Bit with Service Pack 1 Installed
Code::Blocks is installed into my C: drive (The YouTube video I watched said I should install it in there and not in the "Program Files" folder )
I chose the one bundled with the compiler.
The GCC Compiler is in the folder C:\CodeBlocks. I also downloaded the GCC Compiler separate and put it in C:\MinGW
Those executables are all in C:\CodeBlocks\MinGW\bin
The tool chain's exact path is C:\CodeBlocks\MinGW
The names for the executables are:
C Compiler - mingw32-gcc.exe
C++ Compiler - mingw32-g++.exe
Linker for Dynamic Libs - mingw32-g++.exe
Linker for static Libs - ar.exe
Debugger - gdb.exe
Resource Compiler - windres.exe
Make Program - make.exe
Thank you very much for your help.
Navigation
[0] Message Index
[#] Next page
Go to full version