Cannot compile Taglib for x86 with MSVC2010

cyril apan cyrilapan at yahoo.fr
Thu Jun 21 12:16:07 UTC 2012


Hi everybody,

I'm trying to compile Taglib 1.7.2 on my Windows 7 x64 with MSVC 2010 SP1.
I've successfully done it for the x64 target, but I got the following error when doing the same for the x86 target:

error LNK2019: unresolved external symbol _uncompress referenced in function "protected: class TagLib::ByteVector __thiscall TagLib::ID3v2::Frame::fieldData(class TagLib::ByteVector const &)const " (?fieldData at Frame@ID3v2 at TagLib@@IBE?AVByteVector at 3@ABV43@@Z)    F:\Downloads\Code\taglib\vstudio\x86\taglib\id3v2frame.obj


I configured both targets on separate folders with CMake (taglib\vstudio\x86\ and taglib\vstudio\x64\) with Zlib enabled and configured correctly.
The issue shouldn't be coming from Zlib as I can compile LibPng with it on both targets without problem.
I'm just selecting Release and then Build. Anybody has an idea?

Regards,

Cyril APAN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20120621/d05f5b23/attachment.html>


More information about the taglib-devel mailing list