Compiling with Visual Studio 2012 for use with Qt Creator ends in a crash

Patrick Kuen patrick.kuen11 at gmail.com
Sat Mar 29 08:17:15 UTC 2014


Hello,

i am trying to get taglib working for a couple of weeks but it still
doesn't work.

I first generate the .sln file for zlib 1.2.8, then build it with Visual
Studio 2012 -> no problems at all!
Then I generate the .sln file for taglib 1.9.1, then build it with the
release configuration -> still no problems
After that I copied the .dll, .lib and the .exp file to my Qt Project
folder where all the .h and .cpp files are
So, then I copied the taglib folder to my Qt Project folder, then I copied
the "config.h" and "taglib_config.h" to my Qt Project folder. Now I have
this structure:

/<myproject>/tag.lib
/<myproject>/tag.dll
/<myproject>/tag.exp
/<myproject>/config.h
/<myproject>/taglib_config.h
/<myproject>/taglib/<allthefolders> (asf, toolkit etc.)

After that, in my .pro file I added the following lines:

win32: LIBS += -L$$PWD/ -ltag


INCLUDEPATH += $$PWD/taglib

DEPENDPATH += $$PWD/taglib


Then I ran qmake.exe and built the project -> the following error appears:


"File (Include) could not be opened: 'tstring.h': No such file or directory"


So I searched on the web and found out that when I add the following
lines, it should work:


INCLUDEPATH += $$PWD/taglib/ape

INCLUDEPATH += $$PWD/taglib/asf

INCLUDEPATH += $$PWD/taglib/flac

INCLUDEPATH += $$PWD/taglib/it

INCLUDEPATH += $$PWD/taglib/mod

INCLUDEPATH += $$PWD/taglib/mp4

INCLUDEPATH += $$PWD/taglib/mpc

INCLUDEPATH += $$PWD/taglib/mpeg

INCLUDEPATH += $$PWD/taglib/ogg

INCLUDEPATH += $$PWD/taglib/riff

INCLUDEPATH += $$PWD/taglib/s3m

INCLUDEPATH += $$PWD/taglib/toolkit

INCLUDEPATH += $$PWD/taglib/trueaudio

INCLUDEPATH += $$PWD/taglib/wavpack

INCLUDEPATH += $$PWD/taglib/xm


So, build the project again -> no errors! everything seems good

BUT, when I run the project, it crashes immediately! I couldn't even
see my window.


I also posted my problem to stackoverflow but nobody answers.


So please help me. It would be very cool.


Thanks,


Patrick Kuen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20140329/be3e1770/attachment.html>


More information about the taglib-devel mailing list