On Sat, Sep 24, 2022 at 06:09:31PM +0200, Andreas Metzler wrote: > wxwidgets and glew disagree over EGL support, glew is built without, > wxwidgets (since 3.2) with. > > That causes problems (crashes, "Unable to init glew library") in > software using glew and wxwidgets. Google finds multiple instances, I > know about hugin. > > While I have submitted this against glew and Cc'd wxwidgets maintainers > I do not know whether the proper solution is for building glew with EGL > or for building wxwidgets with --disable-glcanvasegl.
AIUI, wxWidgets needs EGL for wxGLCanvas to work under Wayland. With 3.0, we had a hack in place to force use of X11 if the wx GL library was loaded: https://sources.debian.org/src/wxwidgets3.0/3.0.5.1%2Bdfsg-5/debian/patches/force-x11-for-wxgl.patch/ That was better than not working, but doesn't seem a desirable long term solution. Cheers, Olly