[Wayland-bugs] [Bug 92104] BUILD ERROR caused by wrong inclusion-(order)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 24 08:00:31 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92104

            Bug ID: 92104
           Summary: BUILD ERROR caused by wrong inclusion-(order)
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: unixman at archlinux.info

Hi. When i trying to build weston-master i got:

CCLD     desktop-shell.la
CC       clients/libtoytoolkit_la-window.lo
In file included from /usr/include/EGL/egl.h:39:0,
                 from ./shared/platform.h:32,
                 from clients/window.h:34,
                 from clients/window.c:76:
/usr/include/EGL/eglplatform.h:119:22: fatal error: X11/Xlib.h: No such file or
d

This is because <EGL/egl.h> included when WL_EGL_PLATFORM is not defined.So i 

fixed this bug by putting 

#include <wayland-egl.h> on above of line of #include <EGL/egl.h> in 

shared/platform.h

wayland-1.9.0  This is my flags :

./configure --prefix=/usr --libexecdir=/usr/lib/weston --disable-setuid-install
--disable-xwayland --disable-rpi-compositor --disable-rdp-compositor
--disable-ivi-shell --disable-x11-compositor --disable-headless-compositor
--disable-fbdev-compositor --disable-demo-clients-install
--disable-screen-sharing --disable-vaapi-recorder --disable-simple-clients
--disable-simple-egl-clients --disable-simple-intel-dmabuf-client
--disable-resize-optimization --disable-weston-launch --disable-wcap-tools
--disable-fullscreen-shell

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150924/59319004/attachment.html>


More information about the wayland-bugs mailing list