-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Emscripten build issues and build instructions #777
Comments
AFAICT the gl symbol errors are due to https://github.com/nesbox/TIC-80/blob/master/CMakeLists.txt#L289 Still stuck with the SDL_ symbol errors though. |
Ah, it looks like
https://github.com/nesbox/TIC-80/blob/master/CMakeLists.txt#L482 Is my system nonstandard in this regard? Anyway, leaving the information here in case someone else has the issue. I'll close this in a few days if there's no interest. |
It looks like |
Fixed Emscripten build. |
First of all, AFAICT from git history the project switched from a handmade Makefile to CMake recently and it looks like the build instructions on the wiki are out of date.
I'm trying to build the WASM version, I use these commands:
but linking
tic80.js
fails with:I can't say I'm familiar with emscripten and I've made about a million mistakes getting this far so it's possible I missed something. I thought the SDL_ ones at least would have been built by 3rd-party/sdl-gpu... I see that compiled into a
.a
file earlier in the log.Glad to update the wiki if someone can help me get this working.
Linux
cmake 3.12.4
emcc 1.38.15
The text was updated successfully, but these errors were encountered: