<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to build under  macOS, taglib package missing]]></title><description><![CDATA[<p dir="auto">As the title state it, even thoug I've installed taglib using homebrew, cmake doesn't seem to find it. I'm no expert in cmake alas, and I struggle to help it finding where the installation was made (in my case /opt/homebrew/opt/taglib ).<br />
Any help would be greatly appreciated, even though I know no current macOS dev is around...<br />
...<br />
-- Checking for module 'taglib&gt;=1.11.1'<br />
--   No package 'taglib' found<br />
CMake Error at /opt/local/share/cmake-3.24/Modules/FindPkgConfig.cmake:607 (message):<br />
A required package was not found<br />
Call Stack (most recent call first):<br />
/opt/local/share/cmake-3.24/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)<br />
CMakeLists.txt:288 (pkg_check_modules)</p>
<p dir="auto">-- Configuring incomplete, errors occurred!</p>
<p dir="auto">Cheers !</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/994/unable-to-build-under-macos-taglib-package-missing</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 12:18:52 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/994.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Feb 2023 15:18:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to build under  macOS, taglib package missing on Fri, 17 Feb 2023 19:22:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1628">@lorenzolamasse</a></p>
<p dir="auto">You can run cmake with extra -D parameters to specify the location of taglib.<br />
Configure using <code>TAGLIB_INCLUDE_DIRS</code>, <code>TAGLIB_LIBRARY_DIRS</code> and <code>TAGLIB_LIBRARIES</code>.</p>
<p dir="auto">To find the include directory, look for the directory containing <code>tag.h</code> and use the parent directory of the "taglib" directory.<br />
To find the library directory, look for <code>libtag.dylib</code>.</p>
<p dir="auto">Something like this:</p>
<pre><code>cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/qt6/lib/cmake" -DBUILD_WITH_QT6=ON -DUSE_BUNDLE=ON -DICU_ROOT="/usr/local/opt/icu4c" -DTAGLIB_INCLUDE_DIRS="/opt/homebrew/opt/taglib/include" -DTAGLIB_LIBRARY_DIRS="/opt/homebrew/opt/taglib/lib" -DTAGLIB_LIBRARIES="/opt/homebrew/opt/taglib/lib/libtag.dylib"
</code></pre>
<p dir="auto">I didn't test this, modify the dirs if they are wrong.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/2373</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/2373</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Fri, 17 Feb 2023 19:22:47 GMT</pubDate></item></channel></rss>