[Mesa-dev] [Bug 77240] New: khrplatform.h not installed if EGL is disabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 9 06:12:14 PDT 2014


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

          Priority: medium
            Bug ID: 77240
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: khrplatform.h not installed if EGL is disabled
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: eric.le.bihan.dev at free.fr
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Other
           Product: Mesa

Created attachment 97136
  --> https://bugs.freedesktop.org/attachment.cgi?id=97136&action=edit
Patch to fix missing khrplatform.h

KHR/khrplatform.h is required by the EGL, GLES and VG headers, but is
only installed if Mesa3d is compiled with EGL support. Configuring with

  $ ./configure --disable-egl --enable-gles1 --enable-gles2 ...

will result with an incomplete header set. When compiling Cairo with 
OpenGLESv2 support, the build will fail because of the missing header:

  /usr/include/GLES2/gl2platform.h:20:29: fatal error: KHR/khrplatform.h: No
such file or directory

The attached patch fixes the issue for me.

-- 
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/mesa-dev/attachments/20140409/c29f0ae2/attachment.html>


More information about the mesa-dev mailing list