Re: Include order in XCode 2.0
Re: Include order in XCode 2.0
- Subject: Re: Include order in XCode 2.0
- From: Dieter Oberkofler <email@hidden>
- Date: Thu, 19 May 2005 18:29:31 +0200
One of my 3rd party libraries offers a header file named tk.h that when running under XCode 1.5 was correctly included by specifying the appropriate include path in the Target settings.
After moving to XCode 2.0 not the needed tk.h include but a tk.h header file that seems to be part of an X11 api is included.
Typically this problem can be solved by using a specific order of where includes are searched for but I cannot figure out how to get this to work under XCode.
Thank you
-Dieter
Original Message -----------------------
On May 18, 2005, at 9:59 AM, Dieter Oberkofler wrote:
> I'm having problems when compiling a large project that includes
> headers (e.g. tk.h seems to be part of X11 headers) already
> existing somewhere in the frameworks of XCode 2.0 that did not
> exist in XCode 1.5. Is there a way to tell the compiler in what
> order the includes folders are searched for?
Just a clarification: Xcode doesn't have framework headers. It's a
development environment that you use to compile code against a given
operating system and/or SDK. You are probably seeing more the
effects of the Mac OS frameworks and header changes from 10.3 to
10.4, which you would see even if you were using CodeWarrior or just
plain gcc from the command line.
Could you describe your problem in more detail, perhaps including the
part of the build log where the failure occurs? Do you have a new
conflict between one of your project headers and a new Mac OS X 10.4
header, or are you seeing internal contention between different 10.4
headers?
Chris
_______________________________________________
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