djpohly / dwl

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

wlroots-next branch not build becuse of too few arguments to function ‘wlr_output_layout_create’ #522

Open Monirzadeh opened 9 months ago

Monirzadeh commented 9 months ago

Info

dwl version: last in wlroots-next branch. wlroots version: wlroot-git

Description

when i try to build wlroots-next branch i get this error wlroot-git instaled.

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.4`\"  -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: In function ‘setup’:
dwl.c:2246:25: error: too few arguments to function ‘wlr_output_layout_create’
 2246 |         output_layout = wlr_output_layout_create();
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wlr/types/wlr_cursor.h:13,
                 from dwl.c:19:
/usr/include/wlr/types/wlr_output_layout.h:65:27: note: declared here
   65 | struct wlr_output_layout *wlr_output_layout_create(struct wl_display *display);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~

how should i fix that?

sevz17 commented 9 months ago

Use #523, I'll merge it once I merge #520