Closed artik closed 7 months ago
@artik This suggests you're missing at least some of the Wayland dependencies. Shadow Cast requires both X11 and Wayland headers/libs when building, even if you only use it in one of those environments.
You must ensure you have all the dependencies listed in the "building from source" section of the README.
Quite weird, I don't know wich ones i'm missing:
apt list --installed | grep wayland
Gives me:
libva-wayland2/jammy,now 2.14.0-1 amd64 [installed]
libwayland-bin/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-client++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-client-extra++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-client0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-client0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
libwayland-cursor++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-cursor0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-cursor0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
libwayland-dev/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-doc/jammy-updates,jammy-updates,jammy-security,jammy-security,now 1.20.0-1ubuntu0.1 all [installed]
libwayland-egl++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-egl-backend-dev/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-egl1-mesa/jammy-updates,now 23.0.4-0ubuntu1~22.04.1 amd64 [installed]
libwayland-egl1/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-egl1/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
libwayland-server0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-server0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
xwayland/jammy-updates,jammy-security,now 2:22.1.1-1ubuntu0.13 amd64 [installed]
libkf5wayland-dev
was missing :)
apt list --installed | grep wayland now returns:
kwayland-data/jammy,jammy,now 4:5.92.0-0ubuntu1 all [installed]
kwayland-integration/jammy,now 4:5.24.4-0ubuntu1 amd64 [installed]
libkf5wayland-dev/jammy,now 4:5.92.0-0ubuntu1 amd64 [installed]
libkf5wayland-doc/jammy,jammy,now 4:5.92.0-0ubuntu1 all [installed,automatic]
libkf5waylandclient5/jammy,now 4:5.92.0-0ubuntu1 amd64 [installed]
libkf5waylandserver5/jammy,now 4:5.92.0-0ubuntu1 amd64 [installed,automatic]
libnvidia-egl-wayland-dev/jammy,now 1:1.1.9-1.1 amd64 [installed]
libnvidia-egl-wayland1/jammy,now 1:1.1.9-1.1 amd64 [installed,automatic]
libqt5waylandclient5-dev/jammy,now 5.15.3-1 amd64 [installed]
libqt5waylandclient5/jammy,now 5.15.3-1 amd64 [installed]
libqt5waylandcompositor5-dev/jammy,now 5.15.3-1 amd64 [installed]
libqt5waylandcompositor5/jammy,now 5.15.3-1 amd64 [installed]
libva-wayland2/jammy,now 2.14.0-1 amd64 [installed]
libwayland-bin/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-client++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-client-extra++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-client0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-client0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
libwayland-cursor++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-cursor0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-cursor0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
libwayland-dev/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-doc/jammy-updates,jammy-updates,jammy-security,jammy-security,now 1.20.0-1ubuntu0.1 all [installed]
libwayland-egl++0/jammy,now 0.2.8-2 amd64 [installed]
libwayland-egl-backend-dev/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-egl1-mesa/jammy-updates,now 23.0.4-0ubuntu1~22.04.1 amd64 [installed]
libwayland-egl1/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-egl1/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
libwayland-server0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed]
libwayland-server0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 i386 [installed,automatic]
qtwayland5-dev-tools/jammy,now 5.15.3-1 amd64 [installed]
qtwayland5-doc/jammy,jammy,now 5.15.3-1 all [installed]
qtwayland5/jammy,now 5.15.3-1 amd64 [installed]
wayland-protocols/jammy,jammy,now 1.25-1 all [installed]
xwayland/jammy-updates,jammy-security,now 2:22.1.1-1ubuntu0.13 amd64 [installed]
Compilation done !
Hi @gmbeard, now that all dependencies are correct (Writing a tutorial to help Ubuntu/Mint community), I'm facing a build error.
Here is the output of my working
sudo cmake ..
:But when I'm trying to build:
Do you know what could be this error?