Re: 'kASAppleScriptSuite' undeclared
Re: 'kASAppleScriptSuite' undeclared
- Subject: Re: 'kASAppleScriptSuite' undeclared
- From: Alastair Houghton <email@hidden>
- Date: Mon, 1 Oct 2007 11:39:55 +0100
On 30 Sep 2007, at 21:35, Paul Bruneau wrote:
On Sep 30, 2007, at 4:07 PM, Matt Neuburg wrote:
Why not just link against Carbon?
Because those lines solved my problem, and I didn't need any other
parts of Carbon, and besides I didn't know that linking against
Carbon would solve it, and finally, I don't know how to link
against Carbon.
FYI, you wanted
#include <Carbon/Carbon.h>
and to add Carbon.framework to your project (and to any targets that
need to link with it).
Actually, to get the constants you mention, since they're #defines,
there's no need to link with Carbon... you just need to include its
headers. But that might not be true in general---in particular,
there are many constants now that are defined as e.g. "extern
NSString *", and you do need to link to get those.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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