New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Xcode build error


Post Reply New Thread Subscribe

 
Thread Tools
danlb

 
Member Since: Oct 02, 2010
Posts: 2
danlb is on a distinguished road

danlb is offline
I'm running Leopard OSX 10.6.4 on a macbookpro. I wanted to write a simple c program. I've downloaded xcode from the developers web site. Just to make sure things work properly I tried to build the HelloView program and received the following error:

"GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file main.m)"

What do I need to change/fix?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,687
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
I am by no means an Xcode pro but if you go to Project > Select Active SDK, are you given the option to change to the "Mac OS X 10.6 (Base SDK)"?

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
danlb

 
Member Since: Oct 02, 2010
Posts: 2
danlb is on a distinguished road

danlb is offline
Found the miscreant in the preferences - changed Project - Edit Project Settings from 10.4 to 10.6. XCode must have copied a setting from my previous 10.4 OS. All now appears to work properly. Thank you for pointing me in the right direction.
QUOTE Thanks

Post Reply New Thread Subscribe


« Disk permission problem | How to printscreen without a mac-keyboard? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
MacPorts Error: X11_Mesa not building. oceanwilde OS X - Apps and Games 0 07-04-2009 11:43 AM
Error Code 36 ifanyonecan Other Hardware and Peripherals 6 08-22-2008 12:13 AM
Crash on boot - CIFSPlugin: LdapKerbDomainInit failed with error x0x0 OS X - Operating System 5 07-31-2007 08:00 PM
error message during weekly maintenance ajresovsky Schweb's Lounge 0 06-18-2006 05:11 PM
XCode (Help with error messages) First - Using the word "new" as a variable nickypaul OS X - Development and Darwin 7 02-26-2005 11:38 AM

All times are GMT -4. The time now is 04:23 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?