Re: Calling Cocoa APIs from a command line application
Re: Calling Cocoa APIs from a command line application
- Subject: Re: Calling Cocoa APIs from a command line application
- From: John Siracusa <email@hidden>
- Date: Sat, 13 Sep 2003 20:21:38 -0400
On 9/13/03 4:32 PM, Andy Lee wrote:
>
At 3:54 PM -0400 9/13/03, Dave Keck wrote:
>
> Hmm... my Foundation.h file doesn't mention NSURLError.h anywhere [...]
>
>
My Foundation.h does mention NSURLError.h, inside an #ifdef that
>
seems to imply it depends on the OS version:
>
>
#if defined(MAC_OS_X_VERSION_10_2) &&
>
(MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2)
Yes, this is what I see as well.
>
Maybe because you're compiling from the command line, the #ifdef is
>
not having its intended effect, because you're not getting the
>
compilation parameters PB would have set up for you.
I think I am, because I tried explicitly defining a few and got a bunch of
"redefined" errors. So something must be defining them for me somewhere.
>
> Googling doesn't turn up much. Someone mentioned that this might be related
>
> to Safari somehow? I'm running Jaguar with the latest updates, BTW.
>
>
Maybe they were suggesting you install the Web Kit SDK? To find it,
>
log in at <http://connect.apple.com>, go to "Download Software,"
>
select "WWDC 2003," and scroll all the way down to the bottom.
Do you have the Web Kit SDK installed?
-John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.