problems in compiling wayland

pplive p2pnet10 at gmail.com
Thu Jul 3 12:11:33 PDT 2014


Dear all,

I try to build wayland/weston on Ubuntu 14.04 , just following this article

http://wayland.freedesktop.org/ubuntu12.04.html (as i cannot find a
14.04-based tip)

It went well, but when i tried to build weston, it was stopped by the
following message:

  CC       src/weston-compositor.o
src/compositor.c: In function ‘surface_set_buffer_transform’:
src/compositor.c:2160:4: error: ‘WL_SURFACE_ERROR_INVALID_TRANSFORM’
undeclared (first use in this function)
    WL_SURFACE_ERROR_INVALID_TRANSFORM,
    ^
src/compositor.c:2160:4: note: each undeclared identifier is reported
only once for each function it appears in
src/compositor.c: In function ‘surface_set_buffer_scale’:
src/compositor.c:2179:4: error: ‘WL_SURFACE_ERROR_INVALID_SCALE’
undeclared (first use in this function)
    WL_SURFACE_ERROR_INVALID_SCALE,
    ^
make[1]: *** [src/weston-compositor.o] Error 1
make[1]: Leaving directory `/home/yeung/weston'
make: *** [all] Error 2

Can someone tell me how to solve it? Thanks so much!

Best regards,
Alex


More information about the wayland-devel mailing list