• 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
Re: Using External C Libraries with Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Using External C Libraries with Objective-C
      • From: Scott Stevenson <email@hidden>
References: 
 >Using External C Libraries with Objective-C (From: James Andrews <email@hidden>)

  • Prev by Date: Bindings NSArrayController is changing selectionIndex
  • Next by Date: Re: find name of hard drive that system folder resides on in Cocoa
  • Previous by thread: Re: Using External C Libraries with Objective-C
  • Next by thread: Re: Using External C Libraries with Objective-C
  • Index(es):
    • Date
    • Thread