<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [gl, glesv2] Cannot build with --gl and --glesv2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=57379#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [gl, glesv2] Cannot build with --gl and --glesv2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=57379">bug 57379</a>
from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=57379#c3">comment #3</a>)
<span class="quote">> Thanks ojab! For the archives, prior to applying ojab's patch, here's the
> build error, assuming -devel packages (or manually built) mesa GL and GLES:
>
> $ ./configure --prefix={myprefix} --enable-xcb --enable-pdf \
> --disable-gtk-doc --enable-gl --enable-glesv2
>
> $ make
>
> CC cairo-gl-device.lo
> cairo-gl-device.c: In function '_get_depth_stencil_format':
> cairo-gl-device.c:352:9: error: 'GL_DEPTH24_STENCIL8_OES' undeclared (first
> use in this function)
> cairo-gl-device.c:352:9: note: each undeclared identifier is reported only
> once for each function it appears in
>
> PS, cairo head is:
>
> <a href="http://cgit.freedesktop.org/cairo/commit/">http://cgit.freedesktop.org/cairo/commit/</a>
> ?id=a64ce09715162c57d6e4b6a460d426af1d443cdc</span >
*If* the only problem is the missing define, the usual way to work around this
is to add something like the following to the source (or a common header):
#ifndef GL_DEPTH24_STENCIL8_OES
#define GL_DEPTH24_STENCIL8_OES GL_DEPTH24_STENCIL8
#endif
This may only fix the compile-time issue, however.</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>