undefined symbol problem
#19595
-
when i use emcc to build my project,it has a problem in the end,the error is ": undefined symbol: emscripten_dispatch_to_thread_",then I use link command " -s USE_PTHREADS=1 ",and error change “wasm-ld: error: --shared-memory is disallowed by ldo.c.obj because it was not compiled with 'atomics' or 'bulk-memory' features.” so what should i Do next |
Beta Was this translation helpful? Give feedback.
Answered by
sbc100
Jun 21, 2023
Replies: 1 comment
-
You need to build all the objects in your project with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WenAce
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to build all the objects in your project with
-pthread
(or equivalently-sUSE_PTHREADS
) (in this case it looks like ldo.c.obj in particular was not built with that flag).