• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: the art of #includes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: the art of #includes (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Class Clusters
  • Next by Date: Re: NSTextView and NSMutableArray
  • Previous by thread: Re: the art of #includes
  • Next by thread: How to get Input Menu setting + key characters?
  • Index(es):
    • Date
    • Thread