Problem using my Framework
Problem using my Framework
- Subject: Problem using my Framework
- From: Graham <email@hidden>
- Date: Mon, 12 Jun 2006 20:42:16 -0400
I'll try to explain this as best I can:
I have created a Framework with a bunch of classes.
Some of the header files for those classes #import header files of
other classes in the framework since they refer to those other classes.
I have created an application that uses and links to my framework.
Some of the classes in my app, import some of the headers from the
framework.
I import the frame headers as you should with the framework name
prefix and a slash e.g.:
#import <Charlie/Header.h>
The compiler is giving me errors that it cannot find some of the
header files, specifically when a framework header includes another
framework header, that included one cannot be found. I guess that is
because when compiling the app it can find the framework headers
since they have the framework/, yet headers that the headers include
do not have the framework/ and thus it cannot find them.
To get around this I can add the directory where the framework
headers are to the header search path, but I then get lots of
duplicate defined interface errors.
I don't know if I explained this very well, but any assistance would
be appreciated.
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden