User forums > Help
Toolchain path not setup correctly
slowhand:
Help! I keep getting the following message when trying to Build and Run my "MCGuts" project:
"MCGuts - 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...
When I go to Settings->Compiler and Debugger -> Toolchain executables tab
I see that the Compiler's Installation directory is set to
C:\Program Files\CodeBlocks\bin
( a file which I created)
The C++ compiler is set to: mingw32-g++.exe
Please help, i am new to Code::Blocks.
Leigh
stahta01:
Did you install a Compiler?
If no, Install one!
Note: if you manually created the folder "C:\Program Files\CodeBlocks\bin" then you DID NOT do the right thing.
Learn to search this site and others; those who fail to learn to use Google are doomed to fail as computer programmers.
Tim S.
I suggest searching this site and read the FAQs http://wiki.codeblocks.org/index.php?title=FAQ
http://lmgtfy.com/?q=site%3Acodeblocks.org+%22invalid+compiler%22
ausairman:
I've been trying to find a solution to this for a while now, and everywhere it's mentioned there is just a pile of answers saying something along the lines of "look it up" or "it's obvious". Well I'm telling you now that it's NOT obvious. I know it's probably simple but not all of us know where linux has put the compiler. Yes, it may be obvious that Code::blocks requires a compiler, but where that compiler might be is not.
I don't know about everyone else, but when I say that I can't get code::blocks to compile, I don't mean that I don't know how to click on "settings" and browse to a directory, I mean I don't know which directory to browse to, whether the compiler is installed, which compiler I should install and how I would go about doing that.
Instead of patronising everyone who asks this question, it might be helpful just to provide a solution that people can actually understand, then in future you can just link to that answer.
MortenMacFly:
--- Quote from: ausairman on June 20, 2011, 06:21:18 am ---Well I'm telling you now that it's NOT obvious. I know it's probably simple but not all of us know where linux has put the compiler.
--- End quote ---
Well - this is really hard to understand. :shock: If you are a cook wouldn't you need to know where your tools are? I think this is so basic, that it's really hard to believe you said this. IMHO make yourself familiar with the environment you are developing FIRST, then use an IDE. Everything else is not only dangerous, but the outcome is simply undefined.
ausairman:
...And there it is again.
For those of you who came to this page looking for an answer, not abuse, this page offers step-by-step instructions for installing the intel c++ libraries on ubuntu:
http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
Hope this helps.
Navigation
[0] Message Index
[#] Next page
Go to full version