Re: framework headers not found
Re: framework headers not found
- Subject: Re: framework headers not found
- From: Daniel Richman <email@hidden>
- Date: Sun, 03 Aug 2008 11:54:32 -0700
For the project files that use the frameworks, you should
#include/#import them at the top of the respective files.
Try using this.
#import <QuickTime/QuickTime.h>
at the top of each file that uses QuickTime.
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:
#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.
Daniel
Diez B. Roggisch wrote:
Hi,
I'm beginning to feel stupid...
I've tried to build Ogre from scratch, as well as a demo-project that
uses a pre-build Ogre.framework I finally found in the net.
The first had problems finding "QuickTime/QuickTime.h"
The second didn't find any "Ogre/*.h"
In both cases, I added the respective frameworks under
<project>/Frameworks (in xcode project view)
Is there anything else I need to do?
This is the first time I use XCode 3.x, with 2.x AFAIK I never had
these troubles - adding the frameworks made things work.
Thanks,
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
_______________________________________________
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