Re: the art of #includes
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.