Re: the art of #includes
Re: the art of #includes
- Subject: Re: the art of #includes
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 20 May 2003 07:19:31 -0400
on 03-05-20 5:11 AM, Stiphane Sudre at email@hidden wrote:
>
> Endian.h is located in the CoreServices.framework.....but is contained
>
> in the sub framework CarbonCore.framework.
>
>
>
> When I compile, I am told Endian.h is not found. Now mind you I can
>
> see Endian.h sitting in the right folder and the left check box is
>
> checked on......ie everything is a go. So figuring there was some
>
> magical unknown, I began attempting in vain to try
>
>
>
> #include <CoreServices/Endian.h> and
>
> #include <CoreServices/CarbonCore/Endian.h> and
>
> #include "CoreServices/Endian.h"
>
>
>
> [...]
>
> Why would this happen......and or could someone please give me the
>
> proper.....absolutely perfect way to
>
> declare the include #include <Endian.h> and never have a compile issue
>
> that PB can't find the file?
>
>
Hum, why don't you just includes the mother headers?
>
>
#include <QuickTime/QuickTime.h>
>
#include <CoreServices/CoreServices.h>
Or, I think, you can add the subframework's or its super's path to the PB
headers search path.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.