• 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: Stéphane Sudre <email@hidden>
  • Date: Tue, 20 May 2003 11:11:27 +0200

On mardi, mai 20, 2003, at 05:30 Europe/Paris, Jim Mooney wrote:

This is driving me nuts and should be pretty simple....but of course I
can't find the answer or tried every combo to no avail

I have a declaration as such in a .c file

#include <QuickTime/QuickTimeVR.h>
#include <QuickTime/QuickTimeVRFormat.h>
#include <QuickTime/QuickTimeComponents.h>
#include <Endian.h>
#include <FixMath.h>
#include <Script.h>
#include <Sound.h>
#include <stdio.h>
#include <string.h>


Since my problem is of the same basic nature in all the compiling
errors here is the problem.

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>
_______________________________________________
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.

  • Follow-Ups:
    • Re: the art of #includes
      • From: Bill Cheeseman <email@hidden>
References: 
 >the art of #includes (From: Jim Mooney <email@hidden>)

  • Prev by Date: Re: try statement
  • Next by Date: NSTextView and NSMutableArray
  • Previous by thread: the art of #includes
  • Next by thread: Re: the art of #includes
  • Index(es):
    • Date
    • Thread