[cairo-bugs] [Bug 57379] [gl, glesv2] Cannot build with --gl and --glesv2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 30 11:25:08 PDT 2013


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

--- Comment #7 from Ian Romanick <idr at freedesktop.org> ---
(In reply to comment #3)
> 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:
>  
> http://cgit.freedesktop.org/cairo/commit/
> ?id=a64ce09715162c57d6e4b6a460d426af1d443cdc

*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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130530/a8dd8121/attachment.html>


More information about the cairo-bugs mailing list