• 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
Re: Basic Core Animation question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic Core Animation question


  • Subject: Re: Basic Core Animation question
  • From: Michael Watson <email@hidden>
  • Date: Sun, 13 Apr 2008 02:51:44 -0400

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@hidden >
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 (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:
@gmail.com


This email sent to email@hidden

_______________________________________________


_______________________________________________

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


References: 
 >Basic Core Animation question (From: "Greg Sabo" <email@hidden>)
 >Re: Basic Core Animation question (From: Michael Vannorsdel <email@hidden>)
 >Re: Basic Core Animation question (From: "Greg Sabo" <email@hidden>)
 >Re: Basic Core Animation question (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: Basic Core Animation question
  • Next by Date: Re: Basic Core Animation question
  • Previous by thread: Re: Basic Core Animation question
  • Next by thread: Re: Basic Core Animation question
  • Index(es):
    • Date
    • Thread