Can't seem to import QuartzCore.h correctly
Can't seem to import QuartzCore.h correctly
- Subject: Can't seem to import QuartzCore.h correctly
- From: "Carter R. Harrison" <email@hidden>
- Date: Sun, 22 Oct 2006 08:35:43 -0400
This may be a complete newb question but I'm absolutely stuck on how
to fix this. I've got a subclass of NSView. In its interface file I
have the following lines:
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
Then in my implementation file I import the interface file with.
#import "mySubView.h"
Then in XCode, I have added the QuartzCore framework to the
frameworks folder (it's sitting right next to the Cocoa framework
under 'linked frameworks'). Now if I try something like this in my
implementation file:
CIContext *newCIContext;
I'll receive an error during build: "error: 'CIContext' undeclared
(first use in this function)".
Any ideas what I'm doing wrong?? Thanks in advance.
----------------------------------
Carter R. Harrison
email@hidden
----------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden