<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Awesome, Brett!</span></div><div><span>It's indeed working after some corrections related to the zlib path and the taglib name of the debug version.</span></div><div><span>Now I should be able to do some more serious work ;)</span></div><div><br><span></span></div><div><span>Regards,</span></div><div><br><span></span></div><div><span>Cyril APAN.<br></span></div><div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Brett Hoyle <kickbits@gmail.com><br> <b><span style="font-weight: bold;">À :</span></b> 'cyril apan' <cyrilapan@yahoo.fr>; taglib-devel@kde.org <br> <b><span
style="font-weight: bold;">Envoyé le :</span></b> Jeudi 21 juin 2012 14h39<br> <b><span style="font-weight: bold;">Objet :</span></b> RE: Cannot compile Taglib for x86 with MSVC2010<br> </font> </div> <br><div id="yiv1621033354"><style><!--
#yiv1621033354
_filtered #yiv1621033354 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv1621033354 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1621033354
#yiv1621033354 p.yiv1621033354MsoNormal, #yiv1621033354 li.yiv1621033354MsoNormal, #yiv1621033354 div.yiv1621033354MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1621033354 a:link, #yiv1621033354 span.yiv1621033354MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv1621033354 a:visited, #yiv1621033354 span.yiv1621033354MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
#yiv1621033354 span.yiv1621033354EmailStyle17
{font-family:"sans-serif";color:#1F497D;}
#yiv1621033354 .yiv1621033354MsoChpDefault
{font-size:10.0pt;}
_filtered #yiv1621033354 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv1621033354 div.yiv1621033354WordSection1
{}
--></style><div><div class="yiv1621033354WordSection1"><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">I wrote the attached script to build static lib taglib libraries. Maybe it could be of help to you?</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Needs to be renamed from .txt to .cmd, it was renamed to help prevent AV scanners getting upset.</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Builds release zlib then taglib x86 and x64.</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Uses Cmake to generate the
project files and sets the build environment based on finding default paths for 32bit or 64bit Visual Studio 2010 compilers, also auto detects Windows x86 versus x64.</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Folder structure:</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">.\build_taglib.cmd</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">.\zlib\CMakeLists.txt</span></div><div class="yiv1621033354MsoNormal"><span
style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">.\taglib\CMakeLists.txt</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Regards,</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Brett.</span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></div><div class="yiv1621033354MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><div class="yiv1621033354MsoNormal"><b><span
style="font-size:10.0pt;font-family:"sans-serif";" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";" lang="EN-US"> taglib-devel-bounces@kde.org [mailto:taglib-devel-bounces@kde.org] <b>On Behalf Of </b>cyril apan<br><b>Sent:</b> Thursday, 21 June 2012 9:46 PM<br><b>To:</b> taglib-devel@kde.org<br><b>Subject:</b> Cannot compile Taglib for x86 with MSVC2010</span></div></div></div><div class="yiv1621033354MsoNormal"> </div><div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Hi everybody,</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> </span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span
style="font-size:10.0pt;font-family:"sans-serif";color:black;">I'm trying to compile Taglib 1.7.2 on my Windows 7 x64 with MSVC 2010 SP1.</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">I've successfully done it for the x64 target, but I got the following error when doing the same for the x86 target:</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> </span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">error LNK2019: unresolved external symbol _uncompress referenced in function "protected: class TagLib::ByteVector __thiscall TagLib::ID3v2::Frame::fieldData(class TagLib::ByteVector const &)const "
(?fieldData@Frame@ID3v2@TagLib@@IBE?AVByteVector@3@ABV43@@Z) F:\Downloads\Code\taglib\vstudio\x86\taglib\id3v2frame.obj</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> </span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">I configured both targets on separate folders with CMake (taglib\vstudio\x86\ and taglib\vstudio\x64\) with Zlib enabled and configured correctly.</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">The issue shouldn't be coming from Zlib as I can compile LibPng with it on both targets without problem.</span></div></div><div><div class="yiv1621033354MsoNormal"
style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">I'm just selecting Release and then Build. Anybody has an idea?</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> </span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Regards,</span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> </span></div></div><div><div class="yiv1621033354MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Cyril
APAN.</span></div></div></div></div></div></div><br>_______________________________________________<br>taglib-devel mailing list<br><a ymailto="mailto:taglib-devel@kde.org" href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br><br><br> </div> </div> </div></body></html>