inclement / vivarium

A dynamic tiling Wayland compositor using wlroots
GNU General Public License v3.0
367 stars 13 forks source link

Issues with installing #134

Open DeaDvey opened 1 year ago

DeaDvey commented 1 year ago

I tried to install and when I run the ninja -C build Command, I get this error message: I don't really know what it means, so help would be appreciated

ninja: Entering directory `build'
[1/19] Compiling C object protocols/liblayer_shell_protocol.a.p/meson-generated_.._wlr-layer-shell-unstable-v1-protocol.c.o
FAILED: protocols/liblayer_shell_protocol.a.p/meson-generated_.._wlr-layer-shell-unstable-v1-protocol.c.o 
cc -Iprotocols/liblayer_shell_protocol.a.p -Iprotocols -I../protocols -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809 -DDEBUG -DXWAYLAND -fPIC -MD -MQ protocols/liblayer_shell_protocol.a.p/meson-generated_.._wlr-layer-shell-unstable-v1-protocol.c.o -MF protocols/liblayer_shell_protocol.a.p/meson-generated_.._wlr-layer-shell-unstable-v1-protocol.c.o.d -o protocols/liblayer_shell_protocol.a.p/meson-generated_.._wlr-layer-shell-unstable-v1-protocol.c.o -c protocols/wlr-layer-shell-unstable-v1-protocol.c
protocols/wlr-layer-shell-unstable-v1-protocol.c:30:10: fatal error: wayland-util.h: No such file or directory
 #include "wayland-util.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
[2/19] Compiling C object protocols/liboutput_power_manager_protocol.a.p/meson-generated_.._wlr-output-power-management-unstable-v1-protocol.c.o
FAILED: protocols/liboutput_power_manager_protocol.a.p/meson-generated_.._wlr-output-power-management-unstable-v1-protocol.c.o 
cc -Iprotocols/liboutput_power_manager_protocol.a.p -Iprotocols -I../protocols -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809 -DDEBUG -DXWAYLAND -fPIC -MD -MQ protocols/liboutput_power_manager_protocol.a.p/meson-generated_.._wlr-output-power-management-unstable-v1-protocol.c.o -MF protocols/liboutput_power_manager_protocol.a.p/meson-generated_.._wlr-output-power-management-unstable-v1-protocol.c.o.d -o protocols/liboutput_power_manager_protocol.a.p/meson-generated_.._wlr-output-power-management-unstable-v1-protocol.c.o -c protocols/wlr-output-power-management-unstable-v1-protocol.c
protocols/wlr-output-power-management-unstable-v1-protocol.c:28:10: fatal error: wayland-util.h: No such file or directory
 #include "wayland-util.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
[3/19] Compiling C object protocols/libwlr-screencopy-unstable-v1_protocol.a.p/meson-generated_.._wlr-screencopy-unstable-v1-protocol.c.o
FAILED: protocols/libwlr-screencopy-unstable-v1_protocol.a.p/meson-generated_.._wlr-screencopy-unstable-v1-protocol.c.o 
cc -Iprotocols/libwlr-screencopy-unstable-v1_protocol.a.p -Iprotocols -I../protocols -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809 -DDEBUG -DXWAYLAND -fPIC -MD -MQ protocols/libwlr-screencopy-unstable-v1_protocol.a.p/meson-generated_.._wlr-screencopy-unstable-v1-protocol.c.o -MF protocols/libwlr-screencopy-unstable-v1_protocol.a.p/meson-generated_.._wlr-screencopy-unstable-v1-protocol.c.o.d -o protocols/libwlr-screencopy-unstable-v1_protocol.a.p/meson-generated_.._wlr-screencopy-unstable-v1-protocol.c.o -c protocols/wlr-screencopy-unstable-v1-protocol.c
protocols/wlr-screencopy-unstable-v1-protocol.c:29:10: fatal error: wayland-util.h: No such file or directory
 #include "wayland-util.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
[4/19] Compiling C object protocols/libxdg_shell_protocol.a.p/meson-generated_.._xdg-shell-protocol.c.o
FAILED: protocols/libxdg_shell_protocol.a.p/meson-generated_.._xdg-shell-protocol.c.o 
cc -Iprotocols/libxdg_shell_protocol.a.p -Iprotocols -I../protocols -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809 -DDEBUG -DXWAYLAND -fPIC -MD -MQ protocols/libxdg_shell_protocol.a.p/meson-generated_.._xdg-shell-protocol.c.o -MF protocols/libxdg_shell_protocol.a.p/meson-generated_.._xdg-shell-protocol.c.o.d -o protocols/libxdg_shell_protocol.a.p/meson-generated_.._xdg-shell-protocol.c.o -c protocols/xdg-shell-protocol.c
protocols/xdg-shell-protocol.c:33:10: fatal error: wayland-util.h: No such file or directory
 #include "wayland-util.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
[5/19] Compiling C object protocols/libidle_protocol.a.p/meson-generated_.._idle-protocol.c.o
FAILED: protocols/libidle_protocol.a.p/meson-generated_.._idle-protocol.c.o 
cc -Iprotocols/libidle_protocol.a.p -Iprotocols -I../protocols -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809 -DDEBUG -DXWAYLAND -fPIC -MD -MQ protocols/libidle_protocol.a.p/meson-generated_.._idle-protocol.c.o -MF protocols/libidle_protocol.a.p/meson-generated_.._idle-protocol.c.o.d -o protocols/libidle_protocol.a.p/meson-generated_.._idle-protocol.c.o -c protocols/idle-protocol.c
protocols/idle-protocol.c:22:10: fatal error: wayland-util.h: No such file or directory
 #include "wayland-util.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
[6/19] Compiling C object src/vivarium.p/viv_server.c.o
FAILED: src/vivarium.p/viv_server.c.o 
cc -Isrc/vivarium.p -Isrc -I../src -Iinclude -I../include -Iprotocols -I../protocols -I../config -Isubprojects/tomlc99 -I../subprojects/tomlc99 -I/usr/local/include -I/usr/include/wayland -I/usr/include/libdrm -I/usr/include/libxkbcommon -I/usr/include/pixman-1 -I/usr/include/libinput -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809 -DDEBUG -DXWAYLAND -MD -MQ src/vivarium.p/viv_server.c.o -MF src/vivarium.p/viv_server.c.o.d -o src/vivarium.p/viv_server.c.o -c ../src/viv_server.c
../src/viv_server.c:14:10: fatal error: wlr/render/allocator.h: No such file or directory
 #include <wlr/render/allocator.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[11/19] Compiling C object tests/test-config.p/test_config.c.o
ninja: build stopped: subcommand failed.
inclement commented 1 year ago

I think you may be missing wayland headers. What distro are you using, and do you have a package with a name like wayland-devel installed if that's present in your distro's repositories?