Re: How do I find this compile error?
Re: How do I find this compile error?
- Subject: Re: How do I find this compile error?
- From: Shawn Erickson <email@hidden>
- Date: Thu, 23 Apr 2009 11:22:07 -0700
On Thu, Apr 23, 2009 at 11:09 AM, James Cicenia <email@hidden> wrote:
> Undefined symbols:
> "_kCATransactionDisableActions", referenced from:
> _kCATransactionDisableActions$non_lazy_ptr in AudioViewController.o
> "_OBJC_CLASS_$_CALayer", referenced from:
> __objc_classrefs__DATA@0 in AudioViewController.o
> "_OBJC_CLASS_$_CATransaction", referenced from:
> __objc_classrefs__DATA@0 in AudioViewController.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
This isn't a compile error but a linker error. Your code is using
classes and constants that the linker cannot find. This implies you
aren't linking against all of the frameworks/libraries that you code
needs or you are linking against versions of the needed frameworks
that don't contain the symbols you need.
If you look at Apple's documentation for the CATransaction or CALayer
classes you can see which framework provides those classes and on
which versions of the operating system those classes area available.
<http://developer.apple.com/documentation/GraphicsImaging/Reference/CATransaction_class/Introduction/Introduction.html>
-Shawn
_______________________________________________
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