<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - BUILD ERROR caused by wrong inclusion-(order)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92104">92104</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>BUILD ERROR caused by wrong inclusion-(order)
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>unixman@archlinux.info
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>