Skip to content
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

WASM not working #1

Open
corelus opened this issue Jul 25, 2018 · 2 comments
Open

WASM not working #1

corelus opened this issue Jul 25, 2018 · 2 comments

Comments

@corelus
Copy link

corelus commented Jul 25, 2018

hi, am a beginner in Webassembly but as i tried to take a look in your code and your exemples & test'em i found out that WASM is not working properly in opposition to ASM in the gaussian-blur example. In the Console as well as in the pop alert() i got a kind of "the 'wa' is not available"

@NickLarsen
Copy link
Owner

Hello @corelus! Thanks for the message and I'm sorry you're having trouble. This example was put together a couple of years ago when WASM was still in a developmental state. There is now a full release out and you should be able to fix this by recompiling the original C code with the latest version of Emscripten.

There is an up to date tutorial for how to do that here: https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm

@NickLarsen
Copy link
Owner

@corelus One thing you might want to try is WasmFiddle which claims to compile wasm from C code directly in your browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants