|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
TagLib 1.6 with CocoaHey everybody
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" at:pos] UTF8String]; TagLib::FileRef f(s); 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 libtag.a(idv2frame.o) 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. _______________________________________________ taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
|
|
Re: TagLib 1.6 with CocoaOn Sat, Oct 10, 2009 at 8:21 PM, Matthieu Riolo
<matthieu.riolo@...> wrote: > 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 > libtag.a(idv2frame.o) > 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. If you are linking to a static library, you need to also link to all the dependencies the library has. So in this case your application needs to link to both taglib and zlib. -- Lukas Lalinsky lalinsky@... _______________________________________________ taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
|
|
Re: TagLib 1.6 with CocoaOn Sat, Oct 10, 2009 at 11:21 AM, Matthieu Riolo
<matthieu.riolo@...> wrote: > Hey everybody > 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 have a 64/32 bit taglib framework that I would be happy to send you or post somewhere. Frameworks are nice vs. static libs because they incorporate the headers and dependencies in one place. Stephen _______________________________________________ taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
|
|
Re: TagLib 1.6 with CocoaHello Stephen,
On Oct 10, 2009, at 12:50 PM, Stephen F. Booth wrote: > On Sat, Oct 10, 2009 at 11:21 AM, Matthieu Riolo > <matthieu.riolo@...> wrote: >> Hey everybody >> 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 have a 64/32 bit taglib framework that I would be happy to send you > or post somewhere. Frameworks are nice vs. static libs because they > incorporate the headers and dependencies in one place. I'd be very interested. Also, if you could pout the sources to create this Framework, with the Xcode project, it would be perfect. Thank you very much in advance, -- Joel Lopes Da Silva _______________________________________________ taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
|
|
Re: TagLib 1.6 with CocoaFor lack of a better place I've uploaded it to
http://files.sbooth.org/taglib-fw.tbz Stephen On Sat, Oct 10, 2009 at 7:37 PM, Joel Lopes Da Silva <joel@...> wrote: > Hello Stephen, > > On Oct 10, 2009, at 12:50 PM, Stephen F. Booth wrote: >> On Sat, Oct 10, 2009 at 11:21 AM, Matthieu Riolo >> <matthieu.riolo@...> wrote: >>> Hey everybody >>> 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 have a 64/32 bit taglib framework that I would be happy to send you >> or post somewhere. Frameworks are nice vs. static libs because they >> incorporate the headers and dependencies in one place. > > I'd be very interested. Also, if you could pout the sources to create > this Framework, with the Xcode project, it would be perfect. > > Thank you very much in advance, > > -- > Joel Lopes Da Silva > > > > _______________________________________________ > taglib-devel mailing list > taglib-devel@... > https://mail.kde.org/mailman/listinfo/taglib-devel > taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
| Free embeddable forum powered by Nabble | Forum Help |