Open vaaneeunbnd opened 3 years ago
Hello,
Hope your day is going well. I would be grateful if someone can please review this issue.
thanks
"function import requires a callable" means that there is an import that expects a function, but the JS did not provide one.
segfault
is an import that is added when using SAFE_HEAP
. Emscripten will provide it from JS when that is set at compile time.
My theory is that your wasm and JS files are out of sync. That is, the wasm was built with SAFE_HEAP
, and then the JS was built without it. Perhaps at the build system level, or perhaps when you moved the files to a testing environment, a mismatch happened and one file was updated but not the other.
I suggest rebuilding entirely from scratch. If that does not help, check the dates on the files to see that they are indeed updated.
Hello,
I am trying to port a c++ library to wasm/js. However when I try to do so the file it created however I get segmentation fault and link error. Below is the code that I use to port the library -
I would be grateful if someone can please assist me with this.
Thanks, Vaanee