Click to See Complete Forum and Search --> : [RESOLVED] TagLib errors - wont compile my program


fatlardo
June 7th, 2008, 06:26 AM
I am trying to use TagLib to get metadata from a file. The problem I am facing is with TagLib itself.

When I try to compile my program, I get a complaint about an #include in fileref.h. I included /usr/include/taglib in my include path and it fixed that problem.

The problem I face now is an "undefined refernece to 'uncompress'" error in TagLib::ID3v2::Frame::fieldData(TagLib::ByteVector const&) const

It seems to me that I need to inlcude a library in my project. Trouble is I dont know which one. I have googled this in so many different ways, but noone seems to have my problem.

I am running Ubuntu 8.04.

Anyone got any ideas?

Thanks

Gary

fatlardo
June 7th, 2008, 11:53 AM
OK, so it turns out I should have used the libtag.so file in my project instead of libtag.a! Not sure if its just a quirk of TagLib, because boost is working fine with the libboost_filesystem.a file, but hey!

At least it work now!

Thanks to all those who read my post

Gary