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
declared in my .m file. Is there anything else I should be doing???