-
Notifications
You must be signed in to change notification settings - Fork 20
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
Using Emscripten upstream version isn't working #10
Comments
This might fix it. It seems to be memory growth related" emscripten-core/emscripten#6747 |
Update: it is not |
I tracked this down to be a wasm issue. Maybe only on macos Chrome as you haven't noticed it so far. I fixed the memory growth and the TypeError now I'm getting
which might be fixable by |
The none wasm examples work (build and run successfully) with memory_growth enabled. I haven't printed the pinball marker yet. |
getting |
@ThorstenBux i switched to an older Emscripten version, because you and @nicolocarpignoli used this. But sure better use the latest with upstream. Recently. I did a node script to build the libjpeg.bc by yourself https://github.com/kalwalt/libjpeg-for-jsartoolkit5/blob/master/tools/makem.js in this way you can build your own libjpeg. |
Currently I'm having issues with upstream and fastcomp. I guess it is because of the version but still need to verify. |
@kalwalt the issue is that even if I just use the committed, pre-build libs I can't run the NFT wasm examples successfully. |
Pay attention that changing emscripten version you need to clear the emscripten cache. |
No, with the prebuild libjpeg.bc and the emscripten fastcomp you Will get the wasm error. I think It works only with latest upstream emscripten. |
i'm testing your branch, i see that the NFT examples are not tracking properly. Maybe because was removed the |
@ThorstenBux It was removed with this commit a91d8bd try to add it again and let me know. |
i opened this issue #11 for anyone has some troubles and problems with Emscripten. |
Closing because this is fixed with Docker setup |
I just want to note that to not forget. I've build with emscripten-upstream and ran into these issues:
LibJPEG from your libJPEG repo isn't working. I think that is to be expected because your version of libJPEG is build with fastcomp.
Runtime error because memory growth isn't allowed. That can be fixed by adding
FLAGS += ' -s ALLOW_MEMORY_GROWTH=1 '
to makeem.js which we could add per default anyways.Runtime error when copying the JS video stream image to C++ compile code.
I didn't follow this bug till the end, hence this note to keep it in mind.
The text was updated successfully, but these errors were encountered: