Linking error

Luca Spiridigliozzi spiri.luca96 at gmail.com
Tue Nov 3 18:41:28 GMT 2020


Are you using a static build of taglib?

Try to define TAGLIB_STATIC

On Mon, Nov 2, 2020 at 6:45 AM Hrachya Aslayan <hro_2002 at mail.ru> wrote:

> There is my project pro file:
>
>
> INCLUDEPATH += \
>
>     C:/taglib-1.11.1/taglib \
>
>     C:/taglib-1.11.1/taglib/toolkit
>
>     C:/taglib/taglib/
>
>
>
> LIBS += \
>
>     C:/taglib/taglib/libtag.a
>
>
> Here is code:
>
>
> #include <taglib/fileref.h>
>
> using namespace TagLib;
>
>
>
> int main(int argc, char *argv[])
>
> {
>
>     TagLib::FileRef f(file);
>
> }
>
>
> Platform: Windows 8.1 x64
> Compiler: MinGW 8.1.0
>
> What’s wrong with my project?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20201103/f751fd62/attachment.htm>


More information about the taglib-devel mailing list