dalerank / nanogui-sdl

Minimalistic port of NanoGUI claim works with SDL API w/o external dependencies.
Other
437 stars 77 forks source link

core dump when clicking on number fields #8

Closed ychakiris closed 5 years ago

ychakiris commented 8 years ago

In either example1 or example2, if I click on any number field, the core dumps with the error: Caught exception in event handler: regex_error

I compiled this using gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4

BTW: the same thing happens with the original nanogui code and that code compiles without warnings or errors

Also, I had to add the following include to picogui.h to get it to compile:

include .

Otherwise I got this error:

nanogui-sdl/src/picogui.cpp:2854:1: error: ‘map’ in namespace ‘std’ does not name a type std::map<SDL_Window , Screen > __nanogui_screens;

dalerank commented 5 years ago

redesigned for sdl2 api only, try now