problems in compiling wayland

Jason Ekstrand jason at jlekstrand.net
Thu Jul 3 12:25:24 PDT 2014


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 <p2pnet10 at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140703/7d5d123c/attachment.html>


More information about the wayland-devel mailing list