You need to be on emscripten incoming, 1.36.0 is also too old. Timers were only added about a month ago. On 24 May 2016 12:53 am, "Mark Sibly" <[email protected]> wrote:
> Still no luck with timers or tests. > > I tried emsdk update and it reckons there's a v1.36 available, but after > install latest/actiavte latest it still says v1.35. > > Any other ideas? > > emcc -v output is: > > emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) > 1.35.0 > clang version 3.7.0 (https://github.com/kripken/emscripten-fastcomp-clang > dbe68fecd03d6f646bd075963c3cc0e7130e5767) ( > https://github.com/kripken/emscripten-fastcomp.git > 4e83be90903250ec5142edc57971ed4c633c5e25) > Target: x86_64-pc-windows-msvc > Thread model: posix > INFO:root:(Emscripten: Running sanity checks) > > > On Tue, May 24, 2016 at 10:55 AM, Alon Zakai <[email protected]> wrote: > >> Recommended is SDL2 from ports, using USE_SDL2, yeah. >> >> That staticBump error looks like a setup problem. emcc -v might show what >> is wrong, possibly using an old llvm. >> >> On Mon, May 23, 2016 at 3:08 PM, Mark Sibly <[email protected]> >> wrote: >> >>> Ok, found the tests in the emscripten repos - doh! >>> >>> I have attempted to run the tests with "python test2\runner.py" and a >>> whole bunch of cryptic text is now flying by, but I am getting lots of: >>> >>> KeyError: 'staticBump' >>> FAIL: Running the generated program failed! >>> >>> Which doesn't sound good. >>> >>> I am on windows 10 and used the standard emscripten installer (ie: >>> didn't build from repos or anything like that). >>> >>> >>> >>> On Tue, May 24, 2016 at 9:32 AM, Mark Sibly <[email protected]> >>> wrote: >>> >>>> Hmm...where do I find this test? >>>> >>>> In fact, which version of SDL2 should I be using? I'm currently using: >>>> >>>> https://github.com/spurious/SDL-mirror >>>> >>>> Which seems to be up-to-date, but I can't find that test... >>>> >>>> Or should I just be using '-s USE_SDL=2'? >>>> >>>> I prefer to build my own SDL2 though as I have a few custom fixes here >>>> and there for my own needs. >>>> >>>> >>>> On Tue, May 24, 2016 at 9:19 AM, Alon Zakai <[email protected]> >>>> wrote: >>>> >>>>> It's possible SDL1 timers never worked - I don't remember - but we >>>>> have a test for SDL2 timers so they should be ok. See test_sdl2_timer in >>>>> tests/test_browser.py >>>>> >>>>> On Sun, May 22, 2016 at 7:47 PM, Mark Sibly <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> Does emscripten support SDL_Timer? >>>>>> >>>>>> I can't seem to get it working and looking through the code it >>>>>> appears to depend on threads. >>>>>> >>>>>> Bye! >>>>>> Mark >>>>>> >>>>>> -- >>>>>> 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 a topic in the >>>>> Google Groups "emscripten-discuss" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/emscripten-discuss/Ooh27X_FdwY/unsubscribe >>>>> . >>>>> To unsubscribe from this group and all its topics, 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. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "emscripten-discuss" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/emscripten-discuss/Ooh27X_FdwY/unsubscribe >> . >> To unsubscribe from this group and all its topics, 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. > -- 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.
