TagLib 1.6 with Cocoa
matthieu.riolo at googlemail.com
Sat Oct 10 20:21:09 CEST 2009
I'm trying to include the new taglib into my project. The project is a
small application that gets images from lastfm to add them to a mp3 as
cd cover. I've downloaded the source from http://developer.kde.org/~wheeler/taglib.html
and I've configured the makefiles with the command: ./configure --
enable-asf --enable-mp4 --enable-static --disable-shared. After the
successful configuration I've compiled it normally with sudo make.
Make creates a taglib.a file in taglib/.libs/. This one I've included
in my xcode project (a normal cocoa application - 10.5 Debug) and have
sets the user header path to taglib (recursive). The project can now
be compiled and successful run. I've changed one of my obj-c files
into .mm to get the "C++ power in Obj-C" possibility. When I'm
importing the taglib.h file and try to compile following code:
const char* s = [[[tableFile dataSource] getObjectValueFor:@"filepath"
I've received the error that FileRef is not a member of TagLib.
Including #import "taglib/fileref.h" solved the problem. But now I'm
getting the following error:
"_uncompress", referended from:
TagLib::ID3v2::Frame::fieldData(TagLib::ByteVector const&) constin
symbols(s) not found
collect2: ld returned 1 exit status
Zlib is found by ./configuration and should work. Have I made
something wrong? Can someone give me a hint how to make that work.
Best regards, Matthieu Riolo.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the taglib-devel