Closed N8n5h closed 4 years ago
Ok, by reading a bit about pointer_stringify it seems that it was removed and that UTF8ToString should be used instead: https://emscripten.org/docs/getting_started/FAQ.html#why-do-i-get-typeerror-module-something-is-not-a-function
Hi, I was trying to manually compile recast.js to test to later add some custom code. I didn't touch any file and compilation works, but the problem comes when trying to run this
it just throws the next error at the line
TypeError: Module.Pointer_stringify is not a function at _invoke_generic_callback_string (/home/user/.../recast.js:9559:66) at Z18getNavMeshVerticesi (wasm-function[362]:863) at ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi (wasm-function[363]:13) at __ZN10emscripten8internal7InvokerIvJitEE6invokeEPFvitEit (wasm-function[372]:15) at Module.dynCall_vii (/home/user/.../recast.js:11552:39) at dynCall_vii76 (eval at makeDynCaller (/home/user/.../recast.js:9049:19),:4:12)
at Object.getNavMeshVertices (eval at new (/home/user/.../recast.js:8860:27), :8:1)
at /home/user/.../buildnavjs:24:16
at _OBJDataLoader (/home/user/.../recast.js:221:3)
at /home/user/.../recast.js:682:7