Compiling Error and Cmake Find Package

Mathieu Savard mathieusavard at hotmail.com
Thu Mar 18 18:39:10 GMT 2021


Hi TagLib!

Issue #1: Can't compile on windows 10
I am following this installation procedure: https://github.com/taglib/taglib/blob/master/INSTALL.md#windows
I am on Windows 10 and I use mingw32-make.exe version 3.82.90 Built for i686-pc-mingw32.
I do not have zlib or cppunit  installed.
I build the Makefiles with:
     cmake -G "MinGW Makefiles" .
and it works just fine. Then I build the project with:
     mingw32-make
and it give me this error:
[cid:836c9fcc-5e4c-4f24-8e68-32ef85914441]
Right now the only solution I found is to add:
     #include <climits>
in tfilestream.h, but It does not feel right.

Issue #2: Can't find cmake package
​In m​​y CMakeLists.txt file I try this:
[cid:c8bfa5ca-8f8c-46ed-ad4b-66e5c39a2dba]
but it fails with this error:
[cid:e5169db0-be94-4530-a469-861f320b97f8]
It does this on Windwos 10 and on the latest Ubuntu LTS version. Am I suppose to make my own taglibConfig.cmake, or am I suppoose to download one from the internet?

Thank you guys for taking time to respond to my noob questions, and have a nice day! πŸ™‚

Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20210318/e8119f81/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-h05xup0d.png
Type: image/png
Size: 98863 bytes
Desc: Outlook-h05xup0d.png
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20210318/e8119f81/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16746 bytes
Desc: image.png
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20210318/e8119f81/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 19432 bytes
Desc: image.png
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20210318/e8119f81/attachment-0005.png>


More information about the taglib-devel mailing list