• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
When adding Cocoa classes I get a lot of compile errors automatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When adding Cocoa classes I get a lot of compile errors automatically


  • Subject: When adding Cocoa classes I get a lot of compile errors automatically
  • From: "Jason T. Slack-Moehrle" <email@hidden>
  • Date: Mon, 03 Jan 2011 13:05:14 -0800

Hello,

Is there special changes to my project that I need to make settings wise to integrate Cocoa and Carbon?

When I add a Cocoa class to my target I immediately get 9300 compiler errors and there is nothing in the class. Simple File - New File  and then create a simple class.

I do have the Cocoa framework added and in my pch I am using

#ifdef __OBJC__
	#import <Cocoa/Cocoa.h>
#endif

What about this integration am I missing. I have never done it before, just read articles about it. The code base is Windows and Carbon at this point.

10.6, targeting 10.4u, 32bit app.

-Jason
_______________________________________________

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

  • Follow-Ups:
    • Re: When adding Cocoa classes I get a lot of compile errors automatically
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: Cocoa Binding with NSArrayController and NSMutableArray
  • Next by Date: Re: When adding Cocoa classes I get a lot of compile errors automatically
  • Previous by thread: Re: Communicating to a process started by root from non-root app
  • Next by thread: Re: When adding Cocoa classes I get a lot of compile errors automatically
  • Index(es):
    • Date
    • Thread