Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with installing #134

Open
DeaDvey opened this issue Aug 4, 2023 · 1 comment
Open

Issues with installing #134

DeaDvey opened this issue Aug 4, 2023 · 1 comment

Comments

@DeaDvey
Copy link

DeaDvey commented Aug 4, 2023

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
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants