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) && (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__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 1)<br>#define TAGLIB_EXPORT __attribute__ ((visibility("default")))<br>
#else<br>#define TAGLIB_EXPORT<br>#endif<br>*/<br>#ifndef TAGLIB_NO_CONFIG<br>#include "taglib_config.h"<br>#endif<br><br>#endif<br>////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
<br>but I still get the linker errors :(. I wonder if I'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'm doing something dumb because of my inexperience though...<br>
<br>Thanks again!<br><br><br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 8:48 AM, Николай Шафоростов <span dir="ltr"><<a href="mailto:shafff@ukr.net">shafff@ukr.net</a>></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;">
a hacky solution is to use<br>
#define TAGLIB_EXPORT<br>
instead of<br>
#define TAGLIB_EXPORT <SOMETHING><br>
<br>
in taglib_export.h<br>
<br>
right now it is defined as "__declspec(dllimport)" for your project<br>
_______________________________________________<br>
taglib-devel mailing list<br>
<a 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>
</blockquote></div><br>