Hi,<br><br>I just wanted to let everyone know I worked around my static compiling issues :). My Firefox plug-in, youtubeMP3Podcaster, will TagLib to tag the MP3s. I was able to get the tag.dll to load after I switched to using SVN sources, which will build under Visual Studio Express Edition 2010. From there I can call the library as needed.<br>
<br>P.S.<br><br>I&#39;m still working out getting unicode to work, so I don&#39;t yet have tagging support on the web site, but if anyone wants to check it out my plugin&#39;s here:<br><br><a href="https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/">https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/</a><br>
<br>Thanks again for everyone&#39;s help :)!<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 9:18 PM, Jeremy Gregorio <span dir="ltr">&lt;<a href="mailto:jeremy.firefox.addon@gmail.com">jeremy.firefox.addon@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I thought so, here&#39;s my &quot;Additional Include Directories&quot; line from my projects properties:<br>
<br>c:\projects\taglib-1.6.3;C:\projects\taglib-1.6.3\taglib;C:\projects\taglib-1.6.3\taglib\toolkit;C:\projects\taglib-1.6.3\taglib\mpeg\id3v2\frames;C:\projects\taglib-1.6.3\taglib\mpeg\id3v2;%(AdditionalIncludeDirectories)<br>

<br>Which I think had all the bases covered. I&#39;m trying to build the tagreader.cpp example from the examples directory, and the only line I&#39;ve added to the cpp file is<br><br>#define TAGLIB_STATIC.<br><br>When I was building with dynamic linking and tag.dll I could leave the above line off and it worked, but do I need more #includes in the file because of trying to link static?<br>

<br>Again, sorry for such a newbie question. I have a feeling I&#39;m banging up against my C++ limitations rather than Taglibs :)<br><br>Thanks again!<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 3:41 PM, Brett Hoyle <span dir="ltr">&lt;<a href="mailto:kickbits@gmail.com" target="_blank">kickbits@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-AU"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Are you including all taglibs header files in your project?</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Jeremy Gregorio [mailto:<a href="mailto:jeremy.firefox.addon@gmail.com" target="_blank">jeremy.firefox.addon@gmail.com</a>] <br>

<b>Sent:</b> Friday, 4 February 2011 4:44 AM<br><b>To:</b> <a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a><br><b>Subject:</b> Re: Newbie question, can I build static with VC++ Express Edition</span></p>

<div><div></div><div><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom: 12pt;">Hi,<br>     Thank you for the reply :). I changed my taglib_export to this:<br><br>/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>

#ifndef TAGLIB_EXPORT<br>#define TAGLIB_EXPORT<br>#endif<br><br>#ifndef TAGLIB_EXPORT_H<br>#define TAGLIB_EXPORT_H<br><br>/*<br>#if !defined(TAGLIB_STATIC) &amp;&amp; (defined(_WIN32) || defined(_WIN64))<br>#ifdef MAKE_TAGLIB_LIB<br>

#define TAGLIB_EXPORT __declspec(dllexport)<br>#else<br>#define TAGLIB_EXPORT __declspec(dllimport)<br>#endif<br>#elif defined(__GNUC__) &amp;&amp; (__GNUC__ &gt; 4 || __GNUC__ == 4 &amp;&amp; __GNUC_MINOR__ &gt;= 1)<br>
#define TAGLIB_EXPORT __attribute__ ((visibility(&quot;default&quot;)))<br>
#else<br>#define TAGLIB_EXPORT<br>#endif<br>*/<br>#ifndef TAGLIB_NO_CONFIG<br>#include &quot;taglib_config.h&quot;<br>#endif<br><br>#endif<br>////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>

<br>but I still get the linker errors :(. I wonder if I&#39;m still building Taglib wrong? I should have mentioned, I used Visual C++ 2005 to build tag lib, but I used Visual C++ 2010 to build the test application. It feels like I&#39;m doing something dumb because of my inexperience though...<br>

<br>Thanks again!<br><br><br></p><div><p class="MsoNormal">On Thu, Feb 3, 2011 at 8:48 AM, Николай Шафоростов &lt;<a href="mailto:shafff@ukr.net" target="_blank">shafff@ukr.net</a>&gt; wrote:</p><p class="MsoNormal">a hacky solution is to use<br>

#define TAGLIB_EXPORT<br>instead of<br>#define TAGLIB_EXPORT &lt;SOMETHING&gt;<br><br>in taglib_export.h<br><br>right now it is defined as &quot;__declspec(dllimport)&quot; for your project<br>_______________________________________________<br>

taglib-devel mailing list<br><a href="mailto:taglib-devel@kde.org" target="_blank">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></p>

</div><p class="MsoNormal"> </p></div></div></div></div><br>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org" target="_blank">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></blockquote></div><br>
</div></div></blockquote></div><br>