Open mdahlgrengadd opened 6 years ago
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!
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.