• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using External C Libraries with Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using External C Libraries with Objective-C
      • From: Karl Goiser <email@hidden>
    • Re: Using External C Libraries with Objective-C
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: Determining which SDK I'm compiling against
  • Next by Date: Catching Up/Arrow key presses in a text field
  • Previous by thread: Re: Determining which SDK I'm compiling against
  • Next by thread: Re: Using External C Libraries with Objective-C
  • Index(es):
    • Date
    • Thread