Kinda new to emscripten, and frontend web development in general.
I am trying to port some C++ code over to javascript, and I am getting this
error when I run it in Firefox nightly. I get the error: "Current
environment does not support SharedArrayBuffer, pthreads are not available!
ATPlayer.html:1249:13 <http://localhost/WASM/ATPlayer.html>"
I am compiling with -s USE_PTHREADS=1 and linking with:
-lopenal \
-s FETCH=1 \
-s USE_WEBGL2=1 \
-s USE_ZLIB=1 \
-s USE_FREETYPE=1 \
-s ASM_JS=1 \
-s USE_PTHREADS=1 \
-s PROXY_TO_PTHREAD=1 \
-s PTHREAD_POOL_SIZE=-1 \
-s TOTAL_MEMORY=318767104 \
-s NO_EXIT_RUNTIME=1 \
-s DISABLE_EXCEPTION_CATCHING=2 \
-s ASSERTIONS=1 \
-s DEMANGLE_SUPPORT=1 \
This was working a couple months ago. Now I get this each time.
Any help would be greatly appreciated. I'm just not sure where to go from
here.
Thanks,
Scott
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.