<div dir="ltr">Hello,<div><br></div><div>i am trying to get taglib working for a couple of weeks but it still doesn't work.</div><div><br></div><div>I first generate the .sln file for zlib 1.2.8, then build it with Visual Studio 2012 -> no problems at all!</div>
<div>Then I generate the .sln file for taglib 1.9.1, then build it with the release configuration -> still no problems</div><div>After that I copied the .dll, .lib and the .exp file to my Qt Project folder where all the .h and .cpp files are</div>
<div>So, then I copied the taglib folder to my Qt Project folder, then I copied the "config.h" and "taglib_config.h" to my Qt Project folder. Now I have this structure:</div><div><br></div><div>/<myproject>/tag.lib</div>
<div>/<myproject>/tag.dll</div><div>/<myproject>/tag.exp<br></div><div>/<myproject>/config.h<br></div><div>/<myproject>/taglib_config.h<br></div><div>/<myproject>/taglib/<allthefolders> (asf, toolkit etc.)<br>
</div><div><br></div><div>After that, in my .pro file I added the following lines:</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px">win32:<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">LIBS</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>-L$$<span style="color:rgb(128,0,128)">PWD</span>/<span style="color:rgb(192,192,192)"> </span>-ltag</pre>

<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib</pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">DEPENDPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Then I ran qmake.exe and built the project -> the following error appears:</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">"File (Include) could not be opened: 'tstring.h': No such file or directory"</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">So I searched on the web and found out that when I add the following lines, it should work:</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/ape</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/asf</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/flac</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/it</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/mod</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/mp4</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/mpc</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/mpeg</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/ogg</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/riff</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/s3m</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/toolkit</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/trueaudio</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/wavpack</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/taglib/xm</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">So, build the project again -> no errors! everything seems good</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">BUT, when I run the project, it crashes immediately! I couldn't even see my window.</span></font></pre><pre style="margin-top:0px;margin-bottom:0px">
<font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">I also posted my problem to stackoverflow but nobody answers.</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">So please help me. It would be very cool.</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Thanks,</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Patrick Kuen</span></font></pre>
</pre></div></div>