Aug 29, 2012 at 4:22am Aug 29, 2012 at 4:22am UTC
I've installed the latest XCode, have Max OS X 10.7.4, and have tried both Code Blocks and Eclipse Juno, both give me errors when I try to compile a simple Hello World program. When creating a project, when I get to the part where it shows which toolchains I have, it only shows "GNU Autotools Toolchain", maybe this has something to do with it.
Also, these are the errors I get when compiling:
http://imgur.com/3FJ7u
Last edited on Aug 29, 2012 at 4:23am Aug 29, 2012 at 4:23am UTC
Aug 29, 2012 at 7:47am Aug 29, 2012 at 7:47am UTC
It seems as if you don't have gcc installed - or your IDE can't find it.
Which of the three IDE's you are using does that image come from?
You may just have to direct the IDE to the right location of the gcc installation somewhere in its settings.
For more info on using Xcode with gcc (g++):
http://www.google.com?q=XCode%20c%2B%2B%20gcc
Hope that helps.
All the best,
NwN
Last edited on Aug 29, 2012 at 7:49am Aug 29, 2012 at 7:49am UTC
Aug 29, 2012 at 4:23pm Aug 29, 2012 at 4:23pm UTC
That image was from eclipse after I tried to compile and run a simple HelloWorld program.
Aug 29, 2012 at 5:09pm Aug 29, 2012 at 5:09pm UTC
Hi there,
Here are some links that can help you:
http://stackoverflow.com/questions/9998384/how-to-install-gcc-in-mac-os-x-lion (XCode)
http://www.codeproject.com/Articles/14222/C-Development-using-eclipse-IDE-Starters-guide (Eclipse)
Hope that helps.
All the best,
NwN