-
|
I'm trying to build JavaScript bindins for the Lomse library (https://github.com/lenmus/lomse). I built the library (static) with and I don't link to other third party libraries, appart from the zlib, libpng, freetype and pthreads provided by emscripten. Then, I copied the generated liblomse.a and the library *.h files to the project for building the JavaScript bindigns, and tried to build with: But after many changes and attempts to build I always get this error: The last attempt was to build all (the library sources and the bindings) in a single command, instead of building first the library: But I still get the error: Any help with this will be appreciated. I don't know what else to do or to change. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Solved. I don't know if this is the right approach but I solved this by not using threads and removing flags |
Beta Was this translation helpful? Give feedback.
-
|
The other solution would be to ensure that |
Beta Was this translation helpful? Give feedback.
Solved. I don't know if this is the right approach but I solved this by not using threads and removing flags
-sUSE_PTHREADS=1 -pthread -Wl,--shared-memory