michaelforney / wld

A primitive drawing library targeted at Wayland
MIT License
85 stars 19 forks source link

Build error: implicit declaration of function #6

Closed jjl closed 9 years ago

jjl commented 9 years ago

Hi,

I receive this error when building, Any ideas?

I'm running gcc 4.8.2 on x86_64

wayland-shm.c: In function ‘wayland_create_context’:
wayland-shm.c:111:5: error: implicit declaration of function ‘wl_display_roundtrip_queue’ [-Werror=implicit-function-declaration]
     wl_display_roundtrip_queue(display, queue);
     ^
cc1: some warnings being treated as errors
make: *** [wayland-shm.lo] Error 1
jjl commented 9 years ago

Further investigation shows that I'm using an old version of wayland (1.4) which doesn't have this function. Apparently wayland keep changing everything like mad, so sorry for the noise. You may wish to add a note noting which version is required, though?