-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: WAM.cwrap is not a function #5
Comments
cool, you are almost there. try adding
to JSFLAGS in the makefile. Emscripten toolchain slimmed down its footprint a while back, and one of the things it dropped was cwrap. thanks for raising an issue, will modify makefile in the repo asap. |
Hey guys thanks for pointing this out here, i got similar issues when trying to run webOBXD. Ill try to sort them out by the indicated way. |
ah, one more fix: pls replace the line at with this: emscripten linker drops unreferenced symbols to minimize its output footprint. since this method is called from JS, the linker does not know that the method is important for us. EMSCRIPTEN_KEEPALIVE directive forces linking, and as a result createModule function will be added to the JS module file. |
Hi, @simdax I also came across these problems, were you able to get it working? I am getting this "Uncaught (in promise) undefined" error. Thanks :) |
I bumped into this issue with recent versions of emscripten, and needed to explicitly add a few functions to the I also needed to make some additional changes to get everything working. Recent versions of You can see all the Makefile changes here |
@micahscopes Thanks a lot :) |
@micahscopes (and others). I created a PR in emscripten to address the |
Hello
The synth is working with the predefined files in dist/dx7/wasm of the repo,
But after build I have this error
I'm building like it
and strangely the wasm module seems quite complete
The text was updated successfully, but these errors were encountered: