Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: CameoCool on September 27, 2010, 11:48:40 pm

Title: Need help with compiler issues
Post by: CameoCool on September 27, 2010, 11:48:40 pm
Hi guys. I am on mac, and i am currently using code::blocks as a compiler for C++ applications. I am having problems, though. When i try to compile a program, instead of terminal popping up with my application, a message appears at the bottom under build log:

"Bob - 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...
Nothing to be done.

Why isn't it working? Did i do something wrong under the setup? Here is a pic of the settings:
(http://farm5.static.flickr.com/4086/5030725995_5c8d35bdd4.jpg)
Is that what it should look like?
Sorry, i'm a new at this kind of stuff.

P.S. Its a console application.
Title: Re: Need help with compiler issues
Post by: kencamargo on September 28, 2010, 03:44:42 am
Hi guys. I am on mac, and i am currently using code::blocks as a compiler for C++ applications. I am having problems, though. When i try to compile a program, instead of terminal popping up with my application, a message appears at the bottom under build log:

"Bob - 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...
Nothing to be done.

Why isn't it working? Did i do something wrong under the setup? Here is a pic of the settings:

Is that what it should look like?
Sorry, i'm a new at this kind of stuff.

P.S. Its a console application.

That is not where the toolchain is set, check "Settings|Compiler and Debugger", and then the tab "Toolchain executables". Make sure you have gdb (the gnu debugger) installed. See if the "Debugger" option points to a valid debugger.

And as per forum rules, do search the forums before asking, lots of people have asked precisely that just in the past week...

Ken
Title: Re: Need help with compiler issues
Post by: oBFusCATed on September 28, 2010, 08:30:37 am
.... and i am currently using code::blocks as a compiler for C++ applications....

Read this:
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_is_Code::Blocks.3F
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
Title: Re: Need help with compiler issues
Post by: kencamargo on September 29, 2010, 02:12:04 am
Read this:
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_is_Code::Blocks.3F
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F

You should make a stamp out of this... :)

Ken