Re: No such file error?
Re: No such file error?
- Subject: Re: No such file error?
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 23 Nov 2005 23:44:02 -0500
In my version of PowerPlant (ca. CodeWarrior 8.3), the
USessionPrinting.cp file is in the same directory as UPrinting.cp:
"Powerplant/Utility Classes".
Look in your PowerPlant directory. Is the file there? If not, you
need to get Xcode to recognize that directory as an include path for
the target.
Also, in my PowerPlant, the USessionPrinting.cp include is not in
angle brackets, but in double-quotes:
#include "USessionPrinting.cp"
Don't know if this could be a subtle difference, or if you just
translated upon pasting into the email message.
Daniel
On Nov 23, 2005, at 11:02 PM, Jeff Heyob wrote:
Eric,
I went with your suggestion for <Carbon/Carbon.h> and that worked
great.
That got me to some warnings and a different "No such file or
directory" error.
error: USessionPrinting.cp: No such file or directory
This error occurred in UPrinting.cp line 30
#include <USessionPrinting.cp>
Another case of the file being accessible despite the error.
Your expertise wouldn't also include import of PowerPlant code
would it?
Thanks for your assistance,
Jeff
On Nov 23, 2005, at 10:17 PM, Eric Albert wrote:
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:
sweater.com
This email sent to email@hidden
_______________________________________________
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