User forums > Help

Toolchain path not setup correctly

<< < (2/2)

ausairman:

--- Quote from: MortenMacFly on June 20, 2011, 06:40:03 am ---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.

--- End quote ---

I think you've misunderstood my situation. I'm not new to c++, and I'm quite familiar with the way compilers work. What I am new to, is linux and code::blocks. And to take your analogy, I am a cook in a new restaurant, and I'd love to know where the tools are but every time I ask, I get every moron in the room shouting "that's obvious!". Every forum I've been to has been polite to those of us who have read the forum guidelines, have searched the topic before posting, and have provided as much info as possible. Here it seems like the thing is to lambast the noobs.

MortenMacFly:

--- Quote from: ausairman on June 20, 2011, 07:04:53 am ---Every forum I've been to has been polite to those of us who have read the forum guidelines, have searched the topic before posting, and have provided as much info as possible. Here it seems like the thing is to lambast the noobs.

--- End quote ---
Well, first of all - which compiler do you want to use? MinGW/GCC?
Second: Where is it installed, what compiler pack (version...) did you choose?
Third: Are you sure you installed the compiler correctly? E.g. MinGW / GCC sometimes ships in two (or more) parts, splitting the C from the C++ compiler. So just installing the C compiler will obviously not be enough.
Finally: Do you point to the root directory of the compiler (as written on the compiler setup page), not any subfolder?

You can"debug" what you are doing at the command line: Try to compile a hello world app to see if the compiler itself is setup correctly.

ttphillips:
for anyone having this problem the solution is as follows:
1. start codeblocks
2.goto settings tab
3. goto compiler debugger
4.goto toolchains executable tab
5.see compiler installation directory
6. click on auto detect. then click OK
this should fix your problem. the auto detect feature sets up the proper directory path for your compiler.
have a great day.

Thorn

DaveJC:
Thank you that's the useful information we were all after. See now we know we won't have to ask this simple question again. Once again thanks.

Dave.

Alpha:
The wiki has had this information since 2005.

Navigation

[0] Message Index

[*] Previous page

Go to full version