Re: No such file error?
Re: No such file error?
- Subject: Re: No such file error?
- From: Eric Albert <email@hidden>
- Date: Wed, 23 Nov 2005 19:17:00 -0800
On Nov 23, 2005, at 7:09 PM, Jeff Heyob wrote:
I'm trying to import my first CodeWarrior project into Xcode and
using Xcode2.2 on OSX 10.4.2
After several failures, I restarted by importing my old project
into Xcode again. My prefix file begins with the following include:
#include <CarbonCore/MacTypes.h>
When I build the project, the precompile of my prefix file
generates this error:
error: CarbonCore/MacTypes.h: No such file or directory
I can execute a quick open on <CarbonCore/MacTypes.h> so I believe
that the file does exists and I don't understand the error. any
assistance to understand and solve this problem would be appreciated.
CarbonCore is a subframework of CoreServices. When you use framework-
style includes, by default the compiler only allows you to directly
reference headers in top-level frameworks.
In other words, change this to
#include <CoreServices/CoreServices.h>
and you'll be all set. Better yet, if this is a Carbon app, use
#include <Carbon/Carbon.h>
in your prefix file and you can remove any other references to
Carbon, CoreServices, or CarbonCore headers in that file because that
one #include will include all of them.
Hope this helps,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden