Re: SDK 10.5 on XCode 4.1
Re: SDK 10.5 on XCode 4.1
- Subject: Re: SDK 10.5 on XCode 4.1
- From: Leonardo <email@hidden>
- Date: Thu, 15 Sep 2011 21:23:36 +0200
- Thread-topic: SDK 10.5 on XCode 4.1
Hi, thank you all for your suggestion.
I created the Sym link, relaunched XCode but when I compile I still get
errors like:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory
But the file exists... I am puzzled.
The error comes right from the stdarg.h file containing
#if defined(__GNUC__)
#include_next <stdarg.h> <<<<<<<<<<<< Here I get the error
#elif defined(__MWERKS__)
#include "mw_stdarg.h"
#else
#error "This header only supports __MWERKS__."
#endif
Regards
-- Leonardo
> Da: Richard Somers <email@hidden>
> Data: Thu, 15 Sep 2011 10:00:07 -0600
> A: Leonardo <email@hidden>
> Cc: <email@hidden>
> Oggetto: Re: SDK 10.5 on XCode 4.1
>
> On Sep 15, 2011, at 8:13 AM, Leonardo wrote:
>
>> I need to build using SDK 10.5. I work on Lion and XCode 4.1
>
> If you need the MacOSX10.5.sdk one way to do this is to make a unix hard link
> to the sdk included with Xcode 3. To make a hard link use the following
> commands from the Terminal application.
>
> $ cd /Developer/SDKs
>
> $ sudo ln -s /Developer3/SDKs/MacOSX10.5.sdk MacOSX10.5.sdk
>
> This assumes that the current Xcode 4 is in /Developer and Xcode 3 is in
> /Developer3.
>
> --Richard
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden