You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update. I found out that ALL libraries built with emscripten do have multithreading disabled. Luckily emscripten provides enough of the libraries (-S) i need to be able to compile / test a barebone application, but i still need some libraries from conan.
The libraries provided by emscripten are all multithreaded when using the flag, but i can't get conan to enable multithreading.
Could you please provide a way to build SDL2 for emscripten with --enable-thread / pthread and atomic?
right now, the configure script for SDL2 is always called with --disable-threads (and also atomic is disabled).
If there's a specific reason, you could add an option to enable / disable it to the package.
When crosscompiling my project for emscripten, linking fails with:
Looking at ~/.conan/data/sdl2/2.0.10/bincrafters/stable/source/source_subfolder/build-scripts/emscripten-buildbot.sh
i found --disable-threads in the emconfigure call.
Why is that disabled? I can't port my project to emscripten without multithreading.
emscripten supports both -s USE_PTHREADS=1 and -pthread
Logs (Include/Attach if Applicable)
Click to expand log
Edit:
Maybe this helps: emscripten-core/emscripten#8960
The text was updated successfully, but these errors were encountered: