Using External C Libraries with Objective-C
Using External C Libraries with Objective-C
- Subject: Using External C Libraries with Objective-C
- From: James Andrews <email@hidden>
- Date: Thu, 16 Sep 2004 00:59:00 -0400
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