adding Foundation framework to a Carbon application
adding Foundation framework to a Carbon application
- Subject: adding Foundation framework to a Carbon application
- From: Donald Hall <email@hidden>
- Date: Fri, 18 Nov 2005 23:26:30 -0700
I have a small carbon application that I had working fine. I wanted
to add some code that uses Foundation classes (NSAppleScript and
NSString), so added the Foundation framework to my project. Upon
compiling all hell broke loose - over 1500 errors, all related to the
'#import <Foundation/Foundation.h>' statement.
Here is a typical error message:
error: syntax error at '@' token
They all seem to have to do with the fact that Foundation is Obj-C.
I have several Foundation apps that include Carbon without problems.
Is there something special I have to do to the project to get it to work?
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden