'Compiling mesa works, but doesn't include supported EGL extensions I need
I have successfully compiled mesa 22.2.0 on Ubuntu 22.04. However, the resulting OpenGL library does't include symbols for EGL extensions I need. For example, here's nm output from libGL.so that was installed on the system:
nm -D /lib/x86_64-linux-gnu/libGL.so | grep glEGL
000000000004ae60 T glEGLImageTargetRenderbufferStorageOES
000000000004ae80 T glEGLImageTargetTexStorageEXT
000000000004aea0 T glEGLImageTargetTexture2DOES
000000000004aec0 T glEGLImageTargetTextureStorageEXT
However, none of these symbols show in my compiled version of libGL.a or libGL.so.
I use EGL+OpenGL ES 3.0, however these EGL extensions are NOT in libGLESv2.so and only in libGL.so (even through they're in the ES header), which doesn't make sense but that's how it is on my system.
How can I compile libGL (or better yet, libGLESv2) so these extensions are included?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
