Skip to content

Unable to compile ( weston 2.0.0 ; os arch ; wayland 1.13.0 ) #54

@ihavesomepoblem

Description

@ihavesomepoblem

make[2]: Entering directory '/root/maynard/shell'
CC shell-helper.lo
shell-helper.c: In function ‘configure_surface’:
shell-helper.c:82:40: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’?
struct weston_view *existing_view = es->configure_private;
^~
shell-helper.c: In function ‘shell_helper_add_surface_to_layer’:
shell-helper.c:117:17: error: ‘struct weston_surface’ has no member named ‘configure’
if (new_surface->configure) {
^~
shell-helper.c:137:13: error: ‘struct weston_surface’ has no member named ‘configure’
new_surface->configure = configure_surface;
^~
shell-helper.c:138:13: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’?
new_surface->configure_private = existing_view;
^~
shell-helper.c: In function ‘configure_panel’:
shell-helper.c:149:34: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’?
struct shell_helper *helper = es->configure_private;
^~
shell-helper.c: In function ‘shell_helper_set_panel’:
shell-helper.c:180:9: error: ‘struct weston_surface’ has no member named ‘configure’
surface->configure(surface, 0, 0);
^~
shell-helper.c:193:9: error: ‘struct weston_surface’ has no member named ‘configure’
surface->configure = configure_panel;
^~
shell-helper.c:194:9: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’?
surface->configure_private = helper;
^~
shell-helper.c: In function ‘shell_helper_curtain’:
shell-helper.c:429:8: warning: passing argument 2 of ‘weston_layer_init’ from incompatible pointer type [-Wincompatible-pointer-types]
&helper->panel_layer->link);
^
In file included from shell-helper.c:29:0:
/usr/include/weston/compositor.h:1410:1: note: expected ‘struct weston_compositor *’ but argument is of type ‘struct wl_list *’
weston_layer_init(struct weston_layer *layer,
^~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:582: shell-helper.lo] Error 1
make[2]: Leaving directory '/root/maynard/shell'
make[1]: *** [Makefile:685: install] Error 2
make[1]: Leaving directory '/root/maynard/shell'
make: *** [Makefile:489: install-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions