Wasm runtime error

Dear all,

I’m having a lot of fun with OF those days, writing a specific GUI system for DSP/Audio applications (it’s not based on ofxGUI).
I tried the emscripten part of OF. I could compile a lot of examples of mine for emscripten. Some of them display well, most don’t. All of them return error in the javascript console. I tried with emrun, with a local python http server, and even deployed with https/nginx on a remote server with same results.
The example I’m talking about contains a simple button, the button is supposed to move when clicked (the linux build works fine). When clicked, the console returns an uncaught error with code 25 and locks the rendering.

25 cmjsound.johannphilippe.fr:1:516
    printErr https://cmjsound.johannphilippe.fr/:1
    abort https://cmjsound.johannphilippe.fr/fuck_button.js:1
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:21911
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:766740
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:2888979
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:171869
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:812752
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:396208
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:539778
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:3066594
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:3067450
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:1456519
    dynCall_iiii https://cmjsound.johannphilippe.fr/fuck_button.js:1
    mouseEventHandlerFunc https://cmjsound.johannphilippe.fr/fuck_button.js:1
    jsEventHandler https://cmjsound.johannphilippe.fr/fuck_button.js:1


Uncaught Error: undefined fuck_button.js:1:17975
    abort https://cmjsound.johannphilippe.fr/fuck_button.js:1
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:21911
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:766740
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:2888979
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:171869
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:812752
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:396208
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:539778
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:3066594
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:3067450
    <anonymous> https://cmjsound.johannphilippe.fr/fuck_button.js line 1 > WebAssembly.instantiate:1456519
    dynCall_iiii https://cmjsound.johannphilippe.fr/fuck_button.js:1
    mouseEventHandlerFunc https://cmjsound.johannphilippe.fr/fuck_button.js:1
    jsEventHandler https://cmjsound.johannphilippe.fr/fuck_button.js:1

The example is hosted here : https://cmjsound.johannphilippe.fr/
It is compiled with emscripten 1.39.2-fastcomp.

Are there still some working examples that still work ? I don’t know if there are some emscripten specific steps I missed ?

Thanks

Another thing in this example : the web version doesn’t seem to get the right mouse position (button’s highlight isn’t done in its right position, although it works fine on linux build).

Up ! Still nobody having similar issues with OF and emscripten ?
Best regards