I've spoken too soon, I'm afraid. Quartz.h also imports QuartzCore.h, and as such what I said isn't entirely accurate. You'll still import the header for QuartzCore, so that's not your problem.

Have you verified in your project target that the QuartzCore framework is listed in the "Link Binary With Libraries" phase?


--
m-s


On 13 Apr, 2008, at 02:29, Michael Watson wrote:
I noticed:

//GameBoard.h*********************************************
#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>

You've added QuartzCore.framework, but Quartz.h isn't the top-level header for QuartzCore. You're importing a header in a framework you aren't linking to.

Either link to Quartz.framework and import <Quartz/Quartz.h>, or link to QuartzCore.framework and import <QuartzCore/QuartzCore.h>.


--
m-s


On 13 Apr, 2008, at 02:17, Greg Sabo wrote:
Hmm, I just added it, and I still get the same linking error. Any other
ideas?

I could probably use an example project which successfully uses CALayers,
too. I can't find any on the net that are helpful.


On Sat, Apr 12, 2008 at 7:36 PM, Michael Vannorsdel <[EMAIL PROTECTED] >
wrote:

Did you put the QuartzCore framework in your project Frameworks? The linker needs to know about QuartzCore before it can find the CALayer class
symbols.


On Apr 12, 2008, at 5:58 PM, Greg Sabo wrote:

I'm a Compsci student trying to learn Cocoa development, and I'm trying
to
write a simple program using Core Animation, but I'm having a hard time getting it to work. I just need someone to tell me what I'm doing wrong
so I
can move on and screw up something else :)
Thanks, and I apologize for the newbie question!


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/gregsabo %40gmail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to