Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Xcode Cocoa 'No such file or directory'

Xcode Cocoa 'No such file or directory'
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2006
Status: Offline
Reply With Quote
Jul 14, 2006, 09:20 AM
 
Ok, I've searched around on google for quite a while, and this still has me stumped. I am fairly new to mac development so that may be the root of the problem. Basically, the situation is this.
I was working on familiarizing myself with Xcode/Cocoa by going through the "Introduction to Quartz Composer Programming Guide" at http://developer.apple.com/documenta...section_1.html
I have added the Quartz.framework to the project via "Project->add to project". Whenever I attempt to either #import <Quartz.QCRenderer> or #include <Quartz.QCRenderer> (also tried "" instead of <>) it gives me the error: Quartz/QCRenderer.h: No such file or directory.
I have tried adding the Quartz the framework from both /Library/Frameworks as well as /System/Library/Frameworks. I have also tried to add a new build phase to the project that will copy the header files.
The only thing that has worked thus far is to add the QCRenderer.h file by itself to the project. It should also probably be noted that this problem is not unique to the Quartz framework; it happens when I try to use the Quicktime framework as well.
I have Xcode Version 2.2.1 on Mac OS X Version 10.4.7.
Any help would be greatly appreciated. Thanks.
     
swfreak  (op)
Fresh-Faced Recruit
Join Date: Jul 2006
Status: Offline
Reply With Quote
Jul 14, 2006, 09:35 AM
 
Just so there is no confusion, I meant #import <Quartz/QCRender.h> above. The missing ".h" was a typo on my part.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jul 14, 2006, 10:00 AM
 
Looking at the hierarchy, QCRenderer is under the QuartzComposer subframework, not right in Quartz.framework. The Quartz header file is Quartz/Quartz.h.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
swfreak  (op)
Fresh-Faced Recruit
Join Date: Jul 2006
Status: Offline
Reply With Quote
Jul 14, 2006, 02:51 PM
 
Thanks for the quick reply. That seems to have fixed the immediate problem. I seem to remember there being something else, but I can't recall. I'll post again I guess if more problems arise. Thanks again.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2