<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 - KHR/khrplatform.h not always installed when needed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107511">107511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>KHR/khrplatform.h not always installed when needed
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>brad.king@kitware.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Since commit f7d42ee7d3 (include: update GL & GLES headers (v2), 2018-07-18)
the 'KHR/khrplatform.h' header is included by 'GL/glcorearb.h' and 'GL/glext.h'
but 'configure.ac' still says
AM_CONDITIONAL(NEED_KHRPLATFORM, test "x$enable_egl" = xyes -o \
"x$enable_gles1" = xyes -o \
"x$enable_gles2" = xyes)
Therefore configuring with all three of those disabled:
./autogen.sh \
--prefix="$prefix" \
--enable-debug \
--disable-dri \
--disable-egl \
--disable-gbm \
--disable-gles1 \
--disable-gles2 \
--disable-shared-glapi \
--with-platforms=x11 \
--enable-glx=gallium-xlib \
--enable-gallium-osmesa \
--with-gallium-drivers=swrast \
--enable-gallium-llvm=yes \
LLVM_CONFIG=$llvm_config \
--enable-llvm-shared-libs \
creates an installation that gives preprocessing errors to clients:
/.../include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such
file or directory</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>