Re: framework headers not found
Re: framework headers not found
- Subject: Re: framework headers not found
- From: "Diez B. Roggisch" <email@hidden>
- Date: Mon, 4 Aug 2008 12:06:47 +0200
Hi,
thanks for the help - yet I seem to have not worded my actual problem
correctly, see below.
On Sunday 03 August 2008 20:54:32 you wrote:
> For the project files that use the frameworks, you should
> #include/#import them at the top of the respective files.
I do, that's where they aren't found.
> Try using this.
> #import <QuickTime/QuickTime.h>
> at the top of each file that uses QuickTime.
As I said, QuickTime.h is not found as whole, not some undefined functions
inside the code that needed the include.
> You will need to #import each header file manually. As far as I know,
> the preprocessor does not support the use of * as a wildcard. So you
> would have to import all the header files like so:
I'm also aware of that- I used the wildcard just to illustrate that all my
headers aren't found.
> #import "Ogre/header1.h" and so on.
>
> Note: For system frameworks (in /System/Library/Frameworks, like
> Foundation, QuickTime, or AppKit), you put <> around the header files
> you need to import. For your own header files/frameworks, you use quotes.
My problem is that addding the Frameworks to the project does not adjust the
header search path automatically. I maybe should have stated that more
clearly.
I can (and have for the time being) adjusted the project-settings to include
the paths for the various frameworks. But I don't recall that being needed in
2.x, at least not for objective C frameworks.
Diez
_______________________________________________
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