GollyGang / ready

A cross-platform implementation of various reaction-diffusion systems and PDEs.
GNU General Public License v3.0
766 stars 60 forks source link

wxGLCanvas uses X11 which isn't used on Wayland #60

Closed timhutton closed 4 years ago

timhutton commented 4 years ago

Error message on e.g. Fedora 31:

Fatal Error: wxGLCanvas is only supported on X11 currently. You may be able to
work around this by setting environment variable GDK_BACKEND=x11 before starting
your program.
Segmentation fault (core dumped)

The suggested workaround is to start Ready with:

GDK_BACKEND=x11 ./ready

An alternative workaround might be to build Ready with GTK2.

Discussion in wxWidgets: https://trac.wxwidgets.org/ticket/17702

timhutton commented 4 years ago

Closing because this is an upstream issue.

Another workaround: build using gtk2