djpohly / dwl

dwm for Wayland - ARCHIVE: development has moved to Codeberg
https://codeberg.org/dwl/dwl
Other
1.93k stars 284 forks source link

Compiling on pop os #525

Closed TymekBrunka closed 7 months ago

TymekBrunka commented 7 months ago

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  
fauxmight commented 7 months ago

@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.

TymekBrunka commented 7 months ago

development migrated - ok no wayland-protocols - I have it installed too. I have runtime dependencies installed so what am I doing wrong?

TymekBrunka commented 7 months ago

Should i clone dwl from codeberg?

sevz17 commented 7 months ago

Should i clone dwl from codeberg?

Yes, and after that please check the pinned issue.

TymekBrunka commented 7 months ago

how, where they are?

TymekBrunka commented 7 months ago

from codeberg or github?

fauxmight commented 7 months ago

Top of the "issues" page on codeberg: https://codeberg.org/dwl/dwl/issues

fauxmight commented 7 months ago

Yes, work from codeberg. That is where development is in progress.

TymekBrunka commented 7 months ago

I see, thank you, have a nice day.