Did you include QuartzCore in your project's linked frameworks?
Luke On Jul 31, 2009, at 3:18 PM, Agha Khan wrote:
HI: This is very strange problem. This code works fine with OS 2.2 but does not work with OS 3.x Can someone point me why it failed? Your help will be very much appreciated. Best regards -Agha But why? // NumberLayer.h #import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> @interface NumberLayer: CALayer { } @end and now NumberLayer.m file #import "NumberLayer.h" @implementation NumberLayer @end ".objc_class_name_CALayer", referenced from: ".objc_class_name_NumberLayer in NumberLayer.o symble(s) not found collect2: Id returned 1 exit status Build failed (1 error) _______________________________________________ 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/luketheh%40apple.com This email sent to luket...@apple.com
_______________________________________________ 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 arch...@mail-archive.com