Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 4, 2012, 11:12 AM   #1
bsmartr
macrumors newbie
 
Join Date: Apr 2012
'QuartzCore/CIColor.h' file not found

Hi. I'm running Xcode 4 and trying to follow the steps in Apple's Image Kit Programming Guide (which is written for Xcode 3) on how to work with an Image View and the IKImageView class. I just imported the Quartz and Quartz Core frameworks (from /System/Frameworks directory) to my blank Cocoa Application project using File > Add Files to... menu, but when I try to Run my application I get this error: Lexical or Preprocessor Issue 'QuartzCore/CIColor.h' file not found

Does anyone know what could be a reason?
bsmartr is offline   0 Reply With Quote
Old Apr 4, 2012, 11:22 AM   #2
cMacSW
macrumors regular
 
Join Date: Mar 2006
Are you using

#include "QuartzCore/CIColor.h" in your source file?
cMacSW is offline   0 Reply With Quote
Old Apr 4, 2012, 02:47 PM   #3
bsmartr
Thread Starter
macrumors newbie
 
Join Date: Apr 2012
Thank you for your reply.
Quote:
Originally Posted by cMacSW View Post
Are you using

#include "QuartzCore/CIColor.h" in your source file?
No, I'm not using it. But apparently it's being used by AppKit framework (see the screenshot I made). CI in CIColor stands for Core Image. I'm now reading Core Image Programming Guide, may be I'll figure it out. Does anyone have any ideas? It's so frustrating, I only added those frameworks (mentioned above) to my project and tried to compile the project but it wouldn't compile. I didn't write any code yet.
Here is a screenshot, hopefully it helps:

Last edited by bsmartr; Apr 4, 2012 at 03:03 PM.
bsmartr is offline   0 Reply With Quote
Old Apr 4, 2012, 05:00 PM   #4
bsmartr
Thread Starter
macrumors newbie
 
Join Date: Apr 2012
Yaay, I solved the issue. The process of importing frameworks has changed completely in Xcode 4 and seems like I got it wrong. I tried to add frameworks to my project by going to File>Add Files to Project ⌥⌘A menu as described in the Apple's Image Kit Programming Guide (which is written in 2008 for Xcode 3) but in Xcode 4 you should do it through the project editor (see screenshot):

Last edited by bsmartr; Apr 4, 2012 at 05:01 PM. Reason: misspelled smth
bsmartr is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How Do You Open a Found Searched File? Cuechick OS X Mavericks (10.9) 9 Jan 21, 2014 01:06 PM
Found the new File: / / / GRMrGecko Wasteland 0 Aug 30, 2013 08:55 AM
All iPads: Error message - original file could not be found SHirsch999 iPad 1 Aug 25, 2013 04:43 PM
File not found on MR homepage wrldwzrd89 Site and Forum Feedback 11 Aug 9, 2013 12:19 PM
#import or #include header file - file not found MickeyT iPhone/iPad Programming 4 Jul 2, 2012 01:58 AM

Forum Jump

All times are GMT -5. The time now is 06:36 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC