Last active
December 8, 2023 07:12
-
-
Save trinitronx/5f2d45e3f3f23e0ed905fff4d8a82f3e to your computer and use it in GitHub Desktop.
projectm-sdl2-git CMake Poco build error on Archlinux & Manjaro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Making package: projectm-sdl2-git 62.ab46c53-1 (Thu 07 Dec 2023 11:43:01 PM MST) | |
==> Checking runtime dependencies... | |
==> Checking buildtime dependencies... | |
==> Retrieving sources... | |
-> Updating frontend-sdl2 git repo... | |
==> Validating source files with sha256sums... | |
frontend-sdl2 ... Skipped | |
==> Removing existing $srcdir/ directory... | |
==> Extracting sources... | |
-> Creating working copy of frontend-sdl2 git repo... | |
Cloning into 'frontend-sdl2'... | |
done. | |
==> Starting pkgver()... | |
==> Removing existing $pkgdir/ directory... | |
==> Starting build()... | |
-- The C compiler identification is GNU 13.2.1 | |
-- The CXX compiler identification is GNU 13.2.1 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/cc - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Found OpenGL: /usr/lib/libOpenGL.so | |
-- Found OpenMP_C: -fopenmp (found version "4.5") | |
-- Found OpenMP_CXX: -fopenmp (found version "4.5") | |
-- Found OpenMP: TRUE (found version "4.5") | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success | |
-- Found Threads: TRUE | |
-- Found ZLIB: /usr/lib/libz.so (found version "1.3") | |
-- Found PCRE2: /lib/libpcre2-8.so | |
CMake Error at /usr/lib/cmake/Poco/PocoConfig.cmake:29 (find_package): | |
Found package configuration file: | |
/usr/lib/cmake/Poco/PocoUtilConfig.cmake | |
but it set PocoUtil_FOUND to FALSE so package "PocoUtil" is considered to | |
be NOT FOUND. Reason given by package: | |
The following imported targets are referenced, but are missing: Poco::XML | |
Poco::JSON | |
Call Stack (most recent call first): | |
CMakeLists.txt:29 (find_package) | |
-- Configuring incomplete, errors occurred! | |
==> ERROR: A failure occurred in build(). | |
Aborting... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 584d820..b56543e 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -26,7 +26,7 @@ endif() | |
find_package(projectM4 REQUIRED COMPONENTS Playlist) | |
find_package(SDL2 REQUIRED) | |
-find_package(Poco REQUIRED COMPONENTS Util) | |
+find_package(Poco REQUIRED COMPONENTS Foundation XML JSON Util NetSSL) | |
include(SDL2Target) | |
include(dependencies_check.cmake) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment