Skip to content
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
@Monirzadeh

Description

@Monirzadeh

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions