Replies: 1 comment
|
OpenGL is supported but GLES is not. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am not clear on whatever this tool requires X11 or not? To compile I get this error:
AI backstory (not sure if this is correct or not)
Short answer: yes.
libGL.*is the legacy GLX client library, so it’s tied to X11.Details:
GLX/X11:
libGL.so(and the rarelibGL.a) implement OpenGL via GLX. Build needs X11/GLX headers; runtime needs an X server (or Xwayland).Wayland or non-X11: don’t link
-lGL. Use EGL:-lOpenGL -lEGL-lGLESv2 -lEGL-lOSMesaGLVND note: modern stacks provide
libOpenGL.so(window-system-neutral API),libGLX.so(GLX), andlibEGL.so(EGL). Use the one matching your window system.Static:
libGL.ais often not shipped and generally unsupported due to driver dispatch being dynamic.Headers:
<GL/gl.h>(neutral)<GL/glx.h>+ X11 headers<EGL/egl.h>and Wayland headers if Wayland.All reactions