[Mesa-dev] [Bug 64959] Cannot build against EGL without X11

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 25 00:14:18 PDT 2013


Quentin "Sardem FF7" Glidic <sardemff7+freedesktop at sardemff7.net> changed:

           What    |Removed                     |Added
                 CC|                            |sardemff7+freedesktop at sarde
                   |                            |mff7.net

--- Comment #3 from Quentin "Sardem FF7" Glidic <sardemff7+freedesktop at sardemff7.net> ---
(In reply to comment #2)
> Does adding -DWL_EGL_PLATFORM to CFLAGS fix the problem? That seems to be
> the right define to use when building in a pure Wayland system.

On a pure Wayland system, that works fine.

> Don't use -DMESA_EGL_NO_X11_HEADERS, because that may break ABI on 32-bit
> systems. The definitions of the EGLNative types in that block are 32-bit
> instead of 64-bit.

What is the correct solution when you have both Wayland and X11 EGL then?
Should we define -DWL_EGL_PLATFORM as soon as wayland EGL support is enabled?
Depends on the ordering of --with-egl-platforms?

As soon as there is an identified solution, I will provide a patch to add the
needed flags to the egl.pc file.

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/20130625/e146911d/attachment.html>

More information about the mesa-dev mailing list