It sounds like he did build wayland first. For some reason weston is not seeing the new wayland installation.

Make sure "make install" was done in wayland, and that both are using the same --prefix in configure.

On 07/03/2014 12:25 PM, Jason Ekstrand wrote:
Weston master requires wayland master.  The
WL_SURFACE_ERROR_INVALID_TRANSFORM enum was added after wayland 1.5  You
need to make sure you build libwayland from git master and then make
sure that weston is building against your custom-built libwayland.
--Jason Ekstrand


On Thu, Jul 3, 2014 at 12:11 PM, pplive <p2pne...@gmail.com
<mailto:p2pne...@gmail.com>> wrote:

    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
    _______________________________________________
    wayland-devel mailing list
    wayland-devel@lists.freedesktop.org
    <mailto:wayland-devel@lists.freedesktop.org>
    http://lists.freedesktop.org/mailman/listinfo/wayland-devel




_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to