News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Build error on Mac.

Started by SuperCamMan, March 09, 2011, 04:02:40 AM

Previous topic - Next topic

SuperCamMan

Hello, I was hoping somebody could help me with this problem I'm having.
I use to use CodeBlocks on my old Windows XP computer but recently I switched to a Mac and obviously I downloaded CodBlocks (10.05) again so I could continue learning C++. The installation went smoothly but the problem is whenever I try to Build/Run something I get this error message in the build log:

""*Project Name* - 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."

If I change the "Build target:" to Release it does the same thing:

""*Project Name* - Release" 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."

It even says this with the default "Hello world!" program. I'm sure this is just a simple directory problem or something but I'm still pretty new at this stuff (as I mentioned before, I'm still just learning C++).

My computer is a MacBook Pro Intel OS X 10.6 Snow Leopard.
I used the Console Application templet with the GNU GCC compiler (I tried it with the "Intel C/C++" compiler but it didn't fix the problem).

Any help would be greatly appreciated and I hope I'm posting this in the appropriate forum.

stahta01

#1
Did YOU install a Compiler?
Edit: This might be the right directions: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X#Install_Developer_Tools

Code::Blocks IS NOT a Compiler!

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

blackcavy140

k im having the same issue, i went to the wiki site and to the GNU compiler site and I don't know what to click on to download the compiler.

oBFusCATed

Search Apple's site for XCode or something like that.
The compiler gcc/g++ is provided by Apple, not GNU/FSF
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

XCode3 is supposed to be free. XCode4 costs money.

I am NOT a Mac person; so, I only know what Wikipedia says.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]