Re: Path of a Lib file???
Re: Path of a Lib file???
- Subject: Re: Path of a Lib file???
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 6 Aug 2005 10:18:32 -0600
On Aug 6, 2005, at 6:22 AM, darpan kamboj wrote:
I have to use the following API
extern OSErr FSpCreate(
const FSSpec * spec,
OSType creator,
OSType fileType,
ScriptCode scriptTag )
Why do you have to use it, unless your software must be backwards
compatible with System 8.6? The FSSpec structure is obsolete; you
should consider using FSRef instead unless you really need to target
ancient versions of the OS.
ld: form3.o illegal reference to symbol: _FSpCreate defined in
indirectly referenced dynamic library /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/
Versions/A/CarbonCore
I have to include the CarbonLib 1.0 but this lib file available in
more than one folder.Which Path should I have to include? Plz help me.
What is this "CarbonLib" that you speak of? Are you trying to link
the application against the CarbonLib stub library that came with the
old CarbonLib SDK? If so, then that won't work in Xcode, because
Xcode can't be used to create CFM Carbon applications that will run
under both OS X and Classic. You'll need either MPW or CodeWarrior to
do that.
If you're talking about the built-in frameworks, then all you really
need to do is link the application to the main Carbon framework, at /
System/Library/Frameworks/Carbon.framework. Don't link the app to
ApplicationServices or CoreServices, and certainly don't link it to
any of the umbrella frameworks they contain.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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