Closed LeyviRose closed 1 year ago
@LeyviRose Have you tried to install the following libraries?
sudo apt install libsystemd-dev libxi-dev libxtst-dev
Hey, I'm a high-school student studying CS, and I'm supposed to make a GIF making tool for the command line, and it MUST use OpenCV
. I tried to install it with dnf
, rpm
, and so I tried using CLion's integrated vcpkg
. This didn't work, even after installing the dependencies it said it needed.
To answer your question @Adela0814, yes, I installed all three. Not sure if this is relevant, but I'm using Fedora 38.
I know this isn't Stack Overflow, but any help fixing this issue (if even temporarily) would be much appreciated. This project is 30% of my grade this year, and it's due in a few days.
Package: at-spi2-core:x64-linux -> 2.44.1#2
Host Environment
To Reproduce
vcpkg install at-spi2-core
Failure logs
/home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/config-x64-linux-dbg-meson-log.txt.log
``` Build started at 2023-06-30T11:47:52.205983 Main binary: /usr/bin/python3 Build Options: -Dintrospection=no -Ddebug=true '-Dcmake_prefix_path=['"'"'/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug'"'"','"'"'/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux'"'"']' -Dprefix=/home/leyvirose/.clion-vcpkg/vcpkg/packages/at-spi2-core_x64-linux/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dbuildtype=plain -Dwrap_mode=nodownload '--native-file /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/meson-x64-linux-dbg.log' Python system: Linux The Meson build system Version: 0.62.1 Source dir: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/src/ORE_2_44_1-fa40e2a5ad.clean Build dir: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg Build type: native build Project name: at-spi2-core Project version: 2.44.1 Sanity testing C compiler: /usr/bin/cc Is cross compiler: False. Sanity check compiler command line: /usr/bin/cc sanitycheckc.c -o sanitycheckc.exe -fPIC -g -I/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/include -D_FILE_OFFSET_BITS=64 -L/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/lib Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg/meson-private/sanitycheckc.exe C compiler for the host machine: /usr/bin/cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4)") C linker for the host machine: /usr/bin/cc ld.bfd 2.39-9 Sanity testing C compiler: /usr/bin/cc Is cross compiler: False. Sanity check compiler command line: /usr/bin/cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg/meson-private/sanitycheckc.exe C compiler for the build machine: /usr/bin/cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4)") C linker for the build machine: /usr/bin/cc ld.bfd 2.39-9 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Pkg-config binary for 1 is not cached. Pkg-config binary for 1 specified from cross file, native file, or env var as ['/bin/pkg-config'] Found pkg-config: /bin/pkg-config (1.8.0) Determining dependency 'dbus-1' with pkg-config executable '/bin/pkg-config' env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --modversion dbus-1` -> 0 1.14.8 env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --cflags dbus-1` -> 0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/share/pkgconfig/ env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 Called `/bin/pkg-config --libs dbus-1` -> 0 -L/usr/lib64 -ldbus-1 env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --libs dbus-1` -> 0 -ldbus-1 Running compile: Working directory: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg/meson-private/tmpwl1l6ff2 Command line: /usr/bin/cc -L/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/debug/lib -I/home/leyvirose/.clion-vcpkg/vcpkg/installed/x64-linux/include /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg/meson-private/tmpwl1l6ff2/testfile.c -o /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg/meson-private/tmpwl1l6ff2/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 Code: #include/home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/config-x64-linux-dbg-out.log
``` WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options The Meson build system Version: 0.62.1 Source dir: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/src/ORE_2_44_1-fa40e2a5ad.clean Build dir: /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg Build type: native build Project name: at-spi2-core Project version: 2.44.1 C compiler for the host machine: /usr/bin/cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4)") C linker for the host machine: /usr/bin/cc ld.bfd 2.39-9 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /bin/pkg-config (1.8.0) Run-time dependency dbus-1 found: YES 1.14.8 Run-time dependency glib-2.0 found: YES 2.76.3 Run-time dependency gobject-2.0 found: YES 2.76.3 Run-time dependency gio-2.0 found: YES 2.76.3 Checking for function "dlopen" : YES Run-time dependency x11 found: YES 1.8.6 Run-time dependency xtst found: YES 1.2.4 Checking for function "XkbGetMap" with dependencies x11, xtst: YES Run-time dependency xi found: YES 1.8.1 Checking for alignment of "char" : 1 Checking for alignment of "double" : 8 Checking for alignment of "dbus_bool_t" with dependency dbus-1: 4 Checking for alignment of "dbus_int16_t" with dependency dbus-1: 2 Checking for alignment of "dbus_int32_t" with dependency dbus-1: 4 Checking for alignment of "dbus_int64_t" with dependency dbus-1: 8 Checking for alignment of "dbind_pointer" : 8 Checking for alignment of "dbind_struct" : 1 Program xgettext found: YES (/usr/bin/xgettext) Configuring config.h using configuration Found pkg-config: /bin/pkg-config (1.8.0) Program glib-genmarshal found: YES Program glib-mkenums found: YES Program glib-mkenums found: YES Configuring accessibility.conf using configuration Configuring at-spi-dbus-bus.desktop using configuration Configuring org.a11y.Bus.service using configuration Configuring at-spi-dbus-bus.service using configuration Program dbus-daemon found: YES (/usr/bin/dbus-daemon) Program dbus-broker-launch found: YES (/usr/bin/dbus-broker-launch) Found CMake: /usr/bin/cmake (3.26.4) Run-time dependency libsystemd found: NO (tried pkgconfig and cmake) ../src/ORE_2_44_1-fa40e2a5ad.clean/bus/meson.build:83:2: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake A full log can be found at /home/leyvirose/.clion-vcpkg/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg/meson-logs/meson-log.txt ```Additional context