After replacing emscripten_sleep_with_yield on emscripten_sleep I have
new error:

exception thrown: TypeError: Module.setAsync is not a
function,_emscripten_sleep@http://127.0.0.1:8080/js-dos.js line 1 >
eval:8:182429
GUI_StartUp(Section*)@http://127.0.0.1:8080/js-dos.js line 1 >
WebAssembly.compile:wasm-function[3244]:0x11dccf
Section::ExecuteInit(bool)@http://127.0.0.1:8080/js-dos.js line 1 >
WebAssembly.compile:wasm-function[1025]:0x64869
Config::Init()@http://127.0.0.1:8080/js-dos.js line 1 >
WebAssembly.compile:wasm-function[3634]:0x1339dd
main@http://127.0.0.1:8080/js-dos.js line 1 >
WebAssembly.compile:wasm-function[2183]:0xc6c59
WDOSBOX/Module._main@http://127.0.0.1:8080/js-dos.js line 1 > eval:8:220000
callMain@http://127.0.0.1:8080/js-dos.js line 1 > eval:8:243221
main@http://127.0.0.1:8080/js-dos.js:1:24720
@http://127.0.0.1:8080/index.html:21:9

чт, 18 июл. 2019 г. в 14:47, Александр Гурьянов <[email protected]>:
>
> Hi. Trying to compile dosbox with new latest-upstream.  It's compiles
> without error, but when I run it, I have this error
>
> missing function: emscripten_sleep_with_yield
>
> I just replaced all emterpreter related flags with
> -s ASYNCIFY

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVFNby57yDxOTE2%2Bq8zxR2GkxM5TcogzudYMHMXLry0jUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to