Taglib not linking statically

morbid code morbidcode666 at gmail.com
Mon Aug 24 10:37:36 UTC 2015

Thanks @Lukas! It's working now.

On 8/24/15, Lukáš Lalinský <lalinsky at gmail.com> wrote:
> On Mon, Aug 24, 2015 at 9:34 AM, morbid code <morbidcode666 at gmail.com>
> wrote:
>> What am I doing wrong? Should I include zlib as well? But according to
>> the docs it's optional.
> I think you just need to define TAGLIB_STATIC somewhere in your project.
> Either in the build system or in the c++ file before including taglib.
> Windows needs different symbol names for functions from static/dynamic
> libraries. By default, TagLib will declare the functions
> with __declspec(dllimport) which requires the __imp__XXX names. If you
> define TAGLIB_STATIC, it should work.
> Lukas

More information about the taglib-devel mailing list