QuartzCore.h not being recognized
QuartzCore.h not being recognized
- Subject: QuartzCore.h not being recognized
- From: Julian Blow <email@hidden>
- Date: Sun, 4 Mar 2007 14:42:53 +0000
Dear all,
apologies if I'm being stupid, but I can't seem to solve this problem
and I've checked the lists...
I'm trying to use Core Image, but can't get my product to link. I can
strip my problem down to the following (created in a pristine new
project):
// header file
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
@interface JBController : NSObject { }
@end
// program file
#import "JBController.h"
@implementation JBController
-(void) awakeFromNib {
CIImage* theCIImage=[[[CIImage alloc] initWithData:nil] autorelease];
}
@end
This builds and executes fine in debug configuration, but if I switch
to release, I get the following link error message:
Undefined symbols:
.objc_class_name_CIImage
/Volumes/data/my programs/QuartzTest/build/QuartzTest.build/Release/
QuartzTest.build/Objects-normal/ppc/QTController.o reference to
undefined .objc_class_name_CIImage
collect2: ld returned 1 exit status
This seems to happen whenever I have any Core Image object I try to
use. All I can guess is I've set something wrong in my build
settings, but what? I'm linking against the MacOSX10.4u.sdk
Thanks in advance,
Julian Blow
FrogDance Software
e-mail: email@hidden
http://www.frogdance.dundee.ac.uk/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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