<p>Simple way:<br>
Configure with cmake<br>
Go to build folder<br>
make<br>
make install</p>
<div class="gmail_quote">21.07.2011 5:09 пользователь "Pris Matic" <<a href="mailto:prismatic.project@gmail.com">prismatic.project@gmail.com</a>> написал:<br type="attribution">> Hi Lukas,<br>> <br>
> Thanks for the reply. After sidestepping the issue with your advice, I ran<br>> into a few more issues using the git repo.<br>> <br>> I'm able to build TagLib successfully (I think), as I get the *.a static lib<br>
> file. I link to this using qmake and that seems to go fine. But now when<br>> trying to use taglib in my program I get a few path errors. Here's an<br>> example:<br>> <br>> tstring.h: No such file or directory // from tag.h., line 30, which is<br>
> "#include tstring.h"<br>> <br>> There are a couple more like this (they all refer to files the<br>> /taglib/toolkit dir). I tried to see what would happen if I pointed to them<br>> directly (ie. change #include tstring.h to #include toolkit/tstring.h). This<br>
> lets me compile and things *seem* to be working fine, but I wanted to ask if<br>> I was doing this right etc.<br>> <br>> <br>> prismatic<br>> <br>> 2011/7/20 Lukáš Lalinský <<a href="mailto:lalinsky@gmail.com">lalinsky@gmail.com</a>><br>
> <br>>> On Wed, Jul 20, 2011 at 8:06 PM, Pris Matic <<a href="mailto:prismatic.project@gmail.com">prismatic.project@gmail.com</a>><br>>> wrote:<br>>> > Hi all,<br>>> > I'm trying to compile TagLib using Qt Creator in Ubuntu 10.10. I run into<br>
>> > the following error:<br>>> > 'config.h: No such file or directory id3v2frame.cpp'<br>>> > The line in question is an #include statement that's called when ZLIB<br>>> > doesn't exist:<br>
>> > #include <config.h><br>>> > What's this file referring to? I feel like it's pointing to some system<br>>> file<br>>> > since its enclosed in <> but I don't know. The TagLib source does not<br>
>> > include a config.h. I tried 1.7 and the latest version up on git. I've<br>>> > included my *.pro file (this is for the latest version off github). I'd<br>>> > appreciate any help in getting taglib to compile.<br>
>><br>>> The file is generated by CMake and should be included only if the<br>>> HAVE_CONFIG_H macro is defined. This wasn't the case in two files, and<br>>> they were including the file if HAVE_ZLIB was *not* defined. This is<br>
>> now fixed in git, but as a workaround you can create an empty config.h<br>>> file.<br>>><br>>> Lukas<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">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>>><br></div>