Re: Using External C Libraries with Objective-C
Re: Using External C Libraries with Objective-C
- Subject: Re: Using External C Libraries with Objective-C
- From: Karl Goiser <email@hidden>
- Date: Mon, 20 Sep 2004 09:56:17 +1000
Hello,
I get the same problem (calling a C function in an external library).
If I turn ZeroLink off, the problem goes away...
Could anybody suggest what might be the cause?
Karl
On 16/09/2004, at 2:59 PM, James Andrews wrote:
ok, first thanks to those who have already answered some of my
unknowings. I have actually figured out some of what I need to do in
my app and am happy with my progress so far.
This question is in reguards to my wanting to read exif data. There's
a library. libexif. Looking at the example file, it seems rather
straight forward to use. I am guessing if I was programming in C it
would be, but I have a feeling I need to do something in Obj-C
differently to use this library, I just don't know what.
#import "ExifDataParser.h"
@implementation ExifDataParser
-(NSString *)initWithFilePath:(NSString *) fileName
{
ExifData *d;
d = exif_data_new_from_file ([fileName cString]);
NSLog(fileName);
return fileName;
}
@end
This is the error I get from trying to use this. What does it mean?
How do I get around it? My google searches come up with very little
info
ZeroLink: unknown symbol '_exif_data_new_from_file'
ExifData has exited due to signal 6 (SIGABRT).
TIA,
james
_______________________________________________
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
_______________________________________________
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