Re: cross development on Jaguar
Re: cross development on Jaguar
- Subject: Re: cross development on Jaguar
- From: Dennis Falling <email@hidden>
- Date: Thu, 2 Dec 2004 12:57:29 -0600
Removing the line from the prefix header in the Target Info does reduce my errors:
<x-tad-smaller>/Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:25: error: parse error before "NSShadow"
/Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:76: error: parse error before "NSShadow"
/Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:77: fatal error: method definition not in class context
</x-tad-smaller>
By the way, the framework I'm trying to build is the AMRolloverButton at <http://www.harmless.de/cocoa.html#rollover>.
I don't have a physical Prefix Header file that all the other files reference, though each file references AppKit on its own.
Thanks,
-dennis falling
On Dec 2, 2004, at 4:01 AM, j o a r wrote:
On 2004-12-02, at 10.53, Dennis Falling wrote:
Appkit is also mentioned in prefix header: "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"
You should not include umbrella framework headers like that. According the CrossDev article mentioned in your first post in this thread:
"To use an umbrella framework header from an SDK as your prefix file, add the appropriate #include <Framework/Framework.h> directive to your target's prefix file, rather than setting a Prefix File path to the umbrella framework header directly."
Also:
<http://developer.apple.com/documentation/MacOSX/Conceptual/SystemOverview/Umbrella/chapter_7_section_4.html>
<http://developer.apple.com/documentation/MacOSX/Conceptual/SystemOverview/Umbrella/chapter_7_section_5.html>
et.c.
j o a r
_______________________________________________
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