eth-igl / gp2024-Assignments

0 stars 0 forks source link

Viewer in Linux #34

Open jo-vogt opened 2 months ago

jo-vogt commented 2 months ago

Is anyone else having issues with running assignment4 on linux? Everytime I try to run my solution, it crashes because it fails to set the window size. Namely: it fails in .../_deps/glfw-src/src/window.c:569 glfwSetWindowSize: Assertion 'width>=0' failed.

And I'm wondering whether I just have a bug somewhere or it simply doesn't work on Linux.

Yanikkuenzi commented 2 months ago

I encountered the same problem a few times. Are you running i3? In my case, this error appeared when I was using the stacked window layout and tried to run the program. I think, at least for me, it was caused by the window manager opening the window in the background or resizing it weirdly which triggered the width >= 0 assertion. Maybe try running it fullscreen?

jo-vogt commented 2 months ago

Fullscreen worked for me. Thank you very much!