Path of a Lib file???
Path of a Lib file???
- Subject: Path of a Lib file???
- From: "darpan kamboj" <email@hidden>
- Date: 6 Aug 2005 12:22:42 -0000
I have to use the following API
extern OSErr FSpCreate(
const FSSpec * spec,
OSType creator,
OSType fileType,
ScriptCode scriptTag )
I have declared the following
FSSpec *spec;
spec->vRefNum=0;
spec->parID=2;
unsigned char filename[64]="Aman";
spec->name=filename;
OSType creator="PTul";
OSType fileType="Sd2f";
ScriptCode scriptTag="smSystemScript";
I have include the path Of "Files.h" in Project Settings--Includepath
There is no error upto this point But when i call the FSpCreate(spec,creator,fileType,scriptTag);
then there is following error :-
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.
Thanks and Regards
_______________________________________________
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