nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

Segmentation fault when creating new screen

Open jc65536 opened this issue 5 years ago • 2 comments

In example3.cpp, there is a segmentation fault on line 101: screen = new Screen(); This is run on Windows 10 using mingw's g++. However, example2.cpp (letting nanogui handle glfw) works fine.

jc65536 avatar Apr 05 '20 05:04 jc65536

I'm having the same issue with clang-cl on Windows 10 v1903. Capture

opeik avatar Apr 07 '20 09:04 opeik

I want to have multiple windows in my program, which is why I want to be able to handle the glfw myself. If I use nanogui::mainloop() to handle everything for me, is there still a way to create a second window in the same main loop? (I don't want to deal with multi threading)

jc65536 avatar Apr 08 '20 21:04 jc65536