Code::Blocks Forums

User forums => Help => Topic started by: SuperCamMan on March 09, 2011, 04:02:40 am

Title: Build error on Mac.
Post by: SuperCamMan on March 09, 2011, 04:02:40 am
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.
Title: Re: Build error on Mac.
Post by: stahta01 on March 09, 2011, 02:08:06 pm
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.
Title: Re: Build error on Mac.
Post by: blackcavy140 on May 28, 2011, 05:27:38 pm
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.
Title: Re: Build error on Mac.
Post by: oBFusCATed on May 28, 2011, 06:03:33 pm
Search Apple's site for XCode or something like that.
The compiler gcc/g++ is provided by Apple, not GNU/FSF
Title: Re: Build error on Mac.
Post by: stahta01 on May 28, 2011, 07:25:57 pm
XCode3 is supposed to be free. XCode4 costs money.

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

Tim S.