Hi,<div><br></div><div>Current GTK3 wayland backend doesn't compile with wayland.</div><div>It doesn't have update about "Remove the wl_visual interface of Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>> 2011-08-31 10:26:19", so it gives following error message.</div>
<div><br></div><div>Does anyone know how to resolve this error?</div><div>--------------------------------------------------------------------------------------------------------------------------------------------</div><div>
<div> CC gdkdisplay-wayland.lo</div><div>gdkdisplay-wayland.c: In function ‘compositor_handle_visual’:</div><div>gdkdisplay-wayland.c:154:7: error: ‘WL_COMPOSITOR_VISUAL_ARGB32’ undeclared (first use in this function)</div>
<div>gdkdisplay-wayland.c:154:7: note: each undeclared identifier is reported only once for each function it appears in</div><div>gdkdisplay-wayland.c:155:3: warning: implicit declaration of function ‘wl_visual_create’</div>
<div>gdkdisplay-wayland.c:155:18: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c:157:7: error: ‘WL_COMPOSITOR_VISUAL_PREMULTIPLIED_ARGB32’ undeclared (first use in this function)</div>
<div>gdkdisplay-wayland.c:158:32: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c:161:7: error: ‘WL_COMPOSITOR_VISUAL_XRGB32’ undeclared (first use in this function)</div><div>
gdkdisplay-wayland.c:162:17: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c: At top level:</div><div>gdkdisplay-wayland.c:167:21: error: variable ‘compositor_listener’ has initializer but incomplete type</div>
<div>gdkdisplay-wayland.c:168:2: warning: excess elements in struct initializer</div><div>gdkdisplay-wayland.c:168:2: warning: (near initialization for ‘compositor_listener’)</div><div>gdkdisplay-wayland.c: In function ‘gdk_display_handle_global’:</div>
<div>gdkdisplay-wayland.c:185:5: warning: implicit declaration of function ‘wl_compositor_create’</div><div>gdkdisplay-wayland.c:185:33: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c:186:5: warning: implicit declaration of function ‘wl_compositor_add_listener’</div>
<div>gdkdisplay-wayland.c:189:5: warning: implicit declaration of function ‘wl_shm_create’</div><div>gdkdisplay-wayland.c:189:26: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c:191:5: warning: implicit declaration of function ‘wl_shell_create’</div>
<div>gdkdisplay-wayland.c:191:28: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c:195:5: warning: implicit declaration of function ‘wl_output_create’</div><div>gdkdisplay-wayland.c:195:29: warning: assignment makes pointer from integer without a cast</div>
<div>gdkdisplay-wayland.c:199:5: warning: implicit declaration of function ‘wl_input_device_create’</div><div>gdkdisplay-wayland.c:199:11: warning: assignment makes pointer from integer without a cast</div><div>gdkdisplay-wayland.c: In function ‘gdk_wayland_display_sync’:</div>
<div>gdkdisplay-wayland.c:396:3: warning: implicit declaration of function ‘wl_display_sync_callback’</div></div><div><br></div><div>Kind regards,</div><div>Byungseon</div>