Daniel V
2016-11-08 07:09:39 UTC
I tried to do a static compile following these instructions...
https://wiki.libsdl.org/Installation
And I also installed all the following stated here...
https://hg.libsdl.org/SDL/file/default/docs/README-linux.md
But installing libwayland-dev libxkbcommon-dev wayland-protocols
...resulted in the following errors...
/SDL/src/video/wayland/SDL_waylandevents.c:478:5: warning: excess
elements in struct initializer
data_source_handle_dnd_drop_performed, // Version 3
/SDL/src/video/wayland/SDL_waylandevents.c:478:5: note: (near
initialization for 'data_source_listener')
/home/logos/Logos_2016/skypilot/sdl_static_linked/SDL/src/video/wayland/SDL_waylandevents.c:479:5:
warning: excess elements in struct initializer
data_source_handle_dnd_finished, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:480:5: warning: excess
elements in struct initializer
data_source_handle_action, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:541:5: warning: excess
elements in struct initializer
data_offer_handle_source_actions, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:542:5: warning: excess
elements in struct initializer
data_offer_handle_actions, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:570:27: error:
'WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE' undeclared (first use in this
function)
uint32_t dnd_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE;
^
/SDL/src/video/wayland/SDL_waylandevents.c:587:26: error:
'WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY' undeclared (first use in this
function)
dnd_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY;
^
/SDL/src/video/wayland/SDL_waylandevents.c:589:9: warning: implicit
declaration of function 'wl_data_offer_set_actions'
[-Wimplicit-function-declaration]
wl_data_offer_set_actions(data_device->drag_offer->offer,
^
When I removed...
libwayland-dev libxkbcommon-dev wayland-protocols
I was able to compile without problem.
// Daniel V.
https://wiki.libsdl.org/Installation
And I also installed all the following stated here...
https://hg.libsdl.org/SDL/file/default/docs/README-linux.md
But installing libwayland-dev libxkbcommon-dev wayland-protocols
...resulted in the following errors...
/SDL/src/video/wayland/SDL_waylandevents.c:478:5: warning: excess
elements in struct initializer
data_source_handle_dnd_drop_performed, // Version 3
/SDL/src/video/wayland/SDL_waylandevents.c:478:5: note: (near
initialization for 'data_source_listener')
/home/logos/Logos_2016/skypilot/sdl_static_linked/SDL/src/video/wayland/SDL_waylandevents.c:479:5:
warning: excess elements in struct initializer
data_source_handle_dnd_finished, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:480:5: warning: excess
elements in struct initializer
data_source_handle_action, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:541:5: warning: excess
elements in struct initializer
data_offer_handle_source_actions, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:542:5: warning: excess
elements in struct initializer
data_offer_handle_actions, // Version 3
^
/SDL/src/video/wayland/SDL_waylandevents.c:570:27: error:
'WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE' undeclared (first use in this
function)
uint32_t dnd_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE;
^
/SDL/src/video/wayland/SDL_waylandevents.c:587:26: error:
'WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY' undeclared (first use in this
function)
dnd_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY;
^
/SDL/src/video/wayland/SDL_waylandevents.c:589:9: warning: implicit
declaration of function 'wl_data_offer_set_actions'
[-Wimplicit-function-declaration]
wl_data_offer_set_actions(data_device->drag_offer->offer,
^
When I removed...
libwayland-dev libxkbcommon-dev wayland-protocols
I was able to compile without problem.
// Daniel V.