<?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[zlib installed but not found while building]]></title><description><![CDATA[<p dir="auto">I get this error while running <code>cmake .. -DBUILD_WITH_QT6=ON</code></p>
<pre><code>-- Configuring done
CMake Error at src/CMakeLists.txt:1068 (add_library):
  Target "strawberry_lib" links to target "ZLIB::ZLIB" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/CMakeLists.txt:1265 (add_executable):
  Target "strawberry" links to target "ZLIB::ZLIB" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at ext/libstrawberry-tagreader/CMakeLists.txt:35 (add_library):
  Target "libstrawberry-tagreader" links to target "ZLIB::ZLIB" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?


CMake Error at ext/strawberry-tagreader/CMakeLists.txt:20 (add_executable):
  Target "strawberry-tagreader" links to target "ZLIB::ZLIB" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
</code></pre>
<p dir="auto">I have zlib and all the other requirements installed. Does anybody know how to solve this error? Thanks</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/1480/zlib-installed-but-not-found-while-building</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 03:24:53 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/1480.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Apr 2024 17:08:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to zlib installed but not found while building on Tue, 09 Apr 2024 20:34:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a> Thanks, that worked!</p>
<blockquote>
<p dir="auto">This seem like a bug with your systems cmake files.</p>
</blockquote>
<p dir="auto">I'm not sure how that happened. I'm using unmodified src code.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/3510</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/3510</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 09 Apr 2024 20:34:09 GMT</pubDate></item><item><title><![CDATA[Reply to zlib installed but not found while building on Mon, 08 Apr 2024 16:40:33 GMT]]></title><description><![CDATA[<p dir="auto">@berry<br />
This seem like a bug with your systems cmake files. Something is adding zlib::zlib, but the target isn't set. Protobuf is probably what's linking to zlib.<br />
Try adding <code>find_package(ZLIB REQUIRED)</code>, or manually adding <code>Protobuf_LIBRARIES</code> to the cmake command as a workaround.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/3503</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/3503</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Mon, 08 Apr 2024 16:40:33 GMT</pubDate></item></channel></rss>