-
Notifications
You must be signed in to change notification settings - Fork 5
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 #341
Comments
Thank you! I haven't been maintaining that script, so I'm almost surprised it wasn't more broken than that. :-) I'll see if I can add Emscripten as a proper CMake target instead. (And floating point DSP, because JS doesn't like integer/fixed point much at all... See #28.) |
Yes, that would be great! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @olofson!
Thanks for this awesome library!
The build-emscripten.sh didn't work on my setup (macbook). I had to make some tiny adjustments to build-emscripten.sh in order to compile.
Namely:
Adding this line: LIBSOURCES="$LIBSOURCES src/interface.c src/pitch.c src/api.c src/log.c src/units/dc.c src/units/env.c"
add "-s USE_SDL=2" to emcc compiler flags
run "cmake ." in the root folder before running build-emscripten.sh
/ Martin.
The text was updated successfully, but these errors were encountered: