dalerank/nanogui-sdl

core dump when clicking on number fields

ychakiris opened this issue · 1 comments

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;

redesigned for sdl2 api only, try now