GTK3 build error - ‘WL_COMPOSITOR_VISUAL_ARGB32’ undeclared

Byungseon Shin xingri at gmail.com
Fri Sep 16 03:48:52 PDT 2011


Hi,

Current GTK3 wayland backend doesn't compile with wayland.
It doesn't have update about "Remove the wl_visual interface of Kristian
Høgsberg <krh at bitplanet.net>  2011-08-31 10:26:19", so it gives following
error message.

Does anyone know how to resolve this error?
--------------------------------------------------------------------------------------------------------------------------------------------
  CC     gdkdisplay-wayland.lo
gdkdisplay-wayland.c: In function ‘compositor_handle_visual’:
gdkdisplay-wayland.c:154:7: error: ‘WL_COMPOSITOR_VISUAL_ARGB32’ undeclared
(first use in this function)
gdkdisplay-wayland.c:154:7: note: each undeclared identifier is reported
only once for each function it appears in
gdkdisplay-wayland.c:155:3: warning: implicit declaration of function
‘wl_visual_create’
gdkdisplay-wayland.c:155:18: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c:157:7: error:
‘WL_COMPOSITOR_VISUAL_PREMULTIPLIED_ARGB32’ undeclared (first use in this
function)
gdkdisplay-wayland.c:158:32: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c:161:7: error: ‘WL_COMPOSITOR_VISUAL_XRGB32’ undeclared
(first use in this function)
gdkdisplay-wayland.c:162:17: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c: At top level:
gdkdisplay-wayland.c:167:21: error: variable ‘compositor_listener’ has
initializer but incomplete type
gdkdisplay-wayland.c:168:2: warning: excess elements in struct initializer
gdkdisplay-wayland.c:168:2: warning: (near initialization for
‘compositor_listener’)
gdkdisplay-wayland.c: In function ‘gdk_display_handle_global’:
gdkdisplay-wayland.c:185:5: warning: implicit declaration of function
‘wl_compositor_create’
gdkdisplay-wayland.c:185:33: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c:186:5: warning: implicit declaration of function
‘wl_compositor_add_listener’
gdkdisplay-wayland.c:189:5: warning: implicit declaration of function
‘wl_shm_create’
gdkdisplay-wayland.c:189:26: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c:191:5: warning: implicit declaration of function
‘wl_shell_create’
gdkdisplay-wayland.c:191:28: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c:195:5: warning: implicit declaration of function
‘wl_output_create’
gdkdisplay-wayland.c:195:29: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c:199:5: warning: implicit declaration of function
‘wl_input_device_create’
gdkdisplay-wayland.c:199:11: warning: assignment makes pointer from integer
without a cast
gdkdisplay-wayland.c: In function ‘gdk_wayland_display_sync’:
gdkdisplay-wayland.c:396:3: warning: implicit declaration of function
‘wl_display_sync_callback’

Kind regards,
Byungseon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110916/db47f974/attachment.htm>


More information about the wayland-devel mailing list