Using Taglib library with Qt

Joel Verhagen joel.verhagen at gmail.com
Tue Nov 23 21:20:37 CET 2010


Eswar,

I was having the same issues, here is a blog post about how I built TagLib
and used it in my Qt Project.
http://www.joelverhagen.com/blog/2010/11/how-to-compile-taglib-on-windows/

Joel Verhagen


On Tue, Nov 23, 2010 at 2:51 PM, eswar <eswar.com at gmail.com> wrote:

> Hi,
>
> I am trying to use taglib inside a Qt application. I have built the
> library using cmake(mingw) on a windows machine. But, when I am trying
> to use the library I get the following linker errors. I have included
> the library in the pro file.
>
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:36:
> undefined reference to
> `_imp___ZN6TagLib7FileRefC1ENS_8FileNameEbNS_15AudioProperties9ReadStyleE'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:37:
> undefined reference to `_imp___ZNK6TagLib7FileRef6isNullEv'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:37:
> undefined reference to `_imp___ZNK6TagLib7FileRef3tagEv'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:38:
> undefined reference to `_imp___ZNK6TagLib7FileRef3tagEv'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:39:
> undefined reference to `_imp___ZNK6TagLib7FileRef6isNullEv'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:39:
> undefined reference to `_imp___ZNK6TagLib7FileRef15audioPropertiesEv'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:40:
> undefined reference to `_imp___ZNK6TagLib7FileRef15audioPropertiesEv'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:47:
> undefined reference to `_imp___ZN6TagLib7FileRefD1Ev'
>
> debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:47:
> undefined reference to `_imp___ZN6TagLib7FileRefD1Ev'
>
> Would be thankful if anyone can figure out what I am doing wrong here.
>
> Thanks,
> Eswar.
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20101123/c1d978d0/attachment.htm 


More information about the taglib-devel mailing list