You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just upgraded to the latest version of emscripten and I can't make my project to work anymore. I didn't do any change, I just needed to recompile. 2 months ago it worked fine.
It looks like the new version doesn't include Module._malloc et Module._free anymore
So now I got the error : Module._malloc is not a function
And by comparing with my old working compiled project, I can see that these lines are missing in the generated JS :
Object.getOwnPropertyDescriptor(a.ready,"_malloc") ...
Object.getOwnPropertyDescriptor(a.ready,"_free") ...
I tried to add the malloc and free manually : emcc .... -s EXPORTED_FUNCTIONS="['_malloc', '_free']"
But now I get this error : RuntimeError: abort(Assertion failed: exported native function malloc not found)
How to include Module._malloc and Module._free with the latest emscripten update?
Thanks for your help, I lost 3 hours on this :/
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Hello guys,
I just upgraded to the latest version of emscripten and I can't make my project to work anymore. I didn't do any change, I just needed to recompile. 2 months ago it worked fine.
It looks like the new version doesn't include Module._malloc et Module._free anymore
So now I got the error : Module._malloc is not a function
And by comparing with my old working compiled project, I can see that these lines are missing in the generated JS :
Object.getOwnPropertyDescriptor(a.ready,"_malloc") ...
Object.getOwnPropertyDescriptor(a.ready,"_free") ...
I tried to add the malloc and free manually : emcc .... -s EXPORTED_FUNCTIONS="['_malloc', '_free']"
But now I get this error : RuntimeError: abort(Assertion failed: exported native function
malloc
not found)How to include Module._malloc and Module._free with the latest emscripten update?
Thanks for your help, I lost 3 hours on this :/
The text was updated successfully, but these errors were encountered: