I think simulateMouseEvent is something in the test suite. Is it possible you are building test suite examples not using the test harness? grep for that in tests/ to see how the harness uses it.
- Alon On Sun, Nov 23, 2014 at 8:31 AM, Peter Jonckheere < [email protected]> wrote: > I am quite new to emscripten. > I can compile the tests with visual C++ 2010 express. The simplest > examples are running fine > I can also compile some of the examples from the command line (emcc..) > For some of the examples, especially the SDL examples and the glbook > examples I can > not run the html page in my browser (firefox, chrome). > > For example when I compile sdl_mouse.c: Exception thrown, see JavaScript > console > I get the following message in the Firefox Javascript webconsole: > "pre-main prep time: 9 ms" SDL_mouse.html:1245 > "exit(0) called, but noExitRuntime, so not exiting" > SDL_mouse.html:1245 > TypeError: window.simulateMouseEvent is not a function > > Does someone recognise this problem. > Do you know a solution, > > Thank you, > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
