This repository was archived by the owner on Jan 26, 2024. It is now read-only.
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
wlroots-next branch not build becuse of too few arguments to function ‘wlr_output_layout_create’ #522
Open
Description
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?