Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuartzCore.h not being recognized



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.