Eswar,<div><br></div><div>I was having the same issues, here is a blog post about how I built TagLib and used it in my Qt Project.</div><div><a href="http://www.joelverhagen.com/blog/2010/11/how-to-compile-taglib-on-windows/">http://www.joelverhagen.com/blog/2010/11/how-to-compile-taglib-on-windows/</a><br clear="all">
<div><br></div>Joel Verhagen<br>
<br><br><div class="gmail_quote">On Tue, Nov 23, 2010 at 2:51 PM, eswar <span dir="ltr">&lt;<a href="http://eswar.com">eswar.com</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I am trying to use taglib inside a Qt application. I have built the<br>
library using cmake(mingw) on a windows machine. But, when I am trying<br>
to use the library I get the following linker errors. I have included<br>
the library in the pro file.<br>
<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:36:<br>
undefined reference to<br>
`_imp___ZN6TagLib7FileRefC1ENS_8FileNameEbNS_15AudioProperties9ReadStyleE&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:37:<br>
undefined reference to `_imp___ZNK6TagLib7FileRef6isNullEv&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:37:<br>
undefined reference to `_imp___ZNK6TagLib7FileRef3tagEv&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:38:<br>
undefined reference to `_imp___ZNK6TagLib7FileRef3tagEv&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:39:<br>
undefined reference to `_imp___ZNK6TagLib7FileRef6isNullEv&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:39:<br>
undefined reference to `_imp___ZNK6TagLib7FileRef15audioPropertiesEv&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:40:<br>
undefined reference to `_imp___ZNK6TagLib7FileRef15audioPropertiesEv&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:47:<br>
undefined reference to `_imp___ZN6TagLib7FileRefD1Ev&#39;<br>
debug/readmeta.o:F:\workspace\qt\projects\AlbumArt-build-desktop/../AlbumArt/readmeta.cpp:47:<br>
undefined reference to `_imp___ZN6TagLib7FileRefD1Ev&#39;<br>
<br>
Would be thankful if anyone can figure out what I am doing wrong here.<br>
<br>
Thanks,<br>
<font color="#888888">Eswar.<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>
</font></blockquote></div><br></div>