• 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
ABAddressbook link issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ABAddressbook link issues


  • Subject: ABAddressbook link issues
  • From: Albert Jordan <email@hidden>
  • Date: Sun, 03 Aug 2008 10:15:27 -0700



I'm trying to integrate ABAddressbook into my application, and having problems with linking.   Here are the error messages I get when trying to compile: 


    cd "/Users/albert/projects/voicemail test/SkypeAPITestSource/NABClient"
    /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk "-L/Users/albert/projects/voicemail test/SkypeAPITestSource/NABClient/build/Debug" "-F/Users/albert/projects/voicemail test/SkypeAPITestSource/NABClient/build/Debug" -filelist "/Users/albert/projects/voicemail test/SkypeAPITestSource/NABClient/build/NABClient.build/Debug/NABClient.build/Objects-normal/i386/NABClient.LinkFileList" -mmacosx-version-min=10.5 -framework Cocoa -o "/Users/albert/projects/voicemail test/SkypeAPITestSource/NABClient/build/Debug/NABClient.app/Contents/MacOS/NABClient"
Undefined symbols:
  "_kABLastNameProperty", referenced from:
      _kABLastNameProperty$non_lazy_ptr in NABController.o
  "_kABFirstNameProperty", referenced from:
      _kABFirstNameProperty$non_lazy_ptr in NABController.o
  ".objc_class_name_ABAddressBook", referenced from:
      literal-pointer@__OBJC@__cls_refs@ABAddressBook in NABController.o
  ".objc_class_name_ABPerson", referenced from:
      literal-pointer@__OBJC@__cls_refs@ABPerson in NABController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
  "_kABLastNameProperty", referenced from:
      _kABLastNameProperty$non_lazy_ptr in NABController.o
  "_kABFirstNameProperty", referenced from:
      _kABFirstNameProperty$non_lazy_ptr in NABController.o
  ".objc_class_name_ABAddressBook", referenced from:
      literal-pointer@__OBJC@__cls_refs@ABAddressBook in NABController.o
  ".objc_class_name_ABPerson", referenced from:
      literal-pointer@__OBJC@__cls_refs@ABPerson in NABController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


I have 

#import <AddressBook/ABAddressbook>
#import <AddressBook/ABGlobals>

declared in my .m file.  Is there anything else I should be doing???

thanks,


albert jordan
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ABAddressbook link issues
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Xcode 3.1 alert
  • Next by Date: Re: ABAddressbook link issues
  • Previous by thread: Re: Including woes
  • Next by thread: Re: ABAddressbook link issues
  • Index(es):
    • Date
    • Thread