Compiling on pop os
TymekBrunka opened this issue · 9 comments
I installed dwl source code and all of those libraries except libxbc-wm and it won't compile bc it cant find some header files from wlroots
error msg:
~/dwl sudo make clean install
rm -f dwl *.o *-protocol.h
`pkg-config --variable=wayland_scanner wayland-scanner` server-header \
`pkg-config --variable=pkgdatadir wayland-protocols`/staging/cursor-shape/cursor-shape-v1.xml cursor-shape-v1-protocol.h
`pkg-config --variable=wayland_scanner wayland-scanner` server-header \
`pkg-config --variable=pkgdatadir wayland-protocols`/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h
`pkg-config --variable=wayland_scanner wayland-scanner` server-header \
protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h
c99 `pkg-config --cflags wlroots wayland-server xkbcommon libinput ` -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"`git describe --tags --dirty 2>/dev/null || echo 0.5`\" -g -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros -Werror=strict-prototypes -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -O1 -c dwl.c
dwl.c:20:10: fatal error: wlr/types/wlr_cursor_shape_v1.h: No such file or directory
20 | #include <wlr/types/wlr_cursor_shape_v1.h>//
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:66: dwl.o] Error 1
~/dwl
@TymekBrunka It looks like you are missing the wayland-protocols
package.
Also, development has migrated to https://codeberg.org/dwl/dwl
This is noted on the main page of this repository.
development migrated - ok
no wayland-protocols - I have it installed too. I have runtime dependencies installed so what am I doing wrong?
Should i clone dwl from codeberg?
Should i clone dwl from codeberg?
Yes, and after that please check the pinned issue.
how, where they are?
from codeberg or github?
Top of the "issues" page on codeberg:
https://codeberg.org/dwl/dwl/issues
Yes, work from codeberg.
That is where development is in progress.
I see,
thank you, have a nice day.