Skip to content
This repository has been 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
Monirzadeh opened this issue Nov 23, 2023 · 1 comment
Labels
A: bug Something isn't working

Comments

@Monirzadeh
Copy link

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?

@Monirzadeh Monirzadeh added the A: bug Something isn't working label Nov 23, 2023
@sevz17
Copy link
Collaborator

sevz17 commented Nov 23, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants