openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.85k stars 2.56k forks source link

Coredump on wayland #7903

Open kflak opened 4 months ago

kflak commented 4 months ago

Hi,

Stumbled on a new wayland-related issue: I'm suddenly no longer able to run any oF-apps on wayland (tried both sway and Hyprland). xorg works fine. The error I'm getting from a clean, empty default project created with the projectGenerator is:

 [ error ] ofAppGLFWWindow: 65550: X11: Platform not initialized
make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:184: run] Segmentation fault (core dumped)

If I set up the app to run as OF_FULLSCREEN, then I get an additional error:

[ error ] ofAppGLFWWindow: 65548: Wayland: The platform does not support setting the window position

Running of_v0.12.0_linux64gcc6_release on Arch Linux, and I'm using the glfw-git package as mentioned in this issue. This used to work just fine, but now no more...

cgxeiji commented 4 months ago

I am having the same issue with 0.12.0

kflak commented 2 months ago

Any news on this? It's getting a bit tedious having to switch back and forth between xorg and wayland...