Hello,
I'am actually trying to port a scientific project to Javascript using emscripten.
The first part I want to achieve is to compile the dependencies. These are the dependencies of the project :
I have a lot of question I hope somebody has the time to answer me :
- I
compiled protobuf from https://github.com/invokr/protobuf-emscripten,
The compilation was correct I think but I got this message : "ignoring
dynamic library libprotoc.so because not compiling to JS or HTML,
remember to link it when compiling to JS or HTML at the end". In the
documentation we can read : "The file output from make might have a different suffix: .a for a static library archive, .so
for a shared library". How my file can have ".so" as an extension if
the tool always ignore ".so" files. How can I build the library ? Do I
have to link every ".o" files ?
- I want to build OpenSceneGraph. I saw someone already tried to port it (see https://github.com/Kurdakov/emscripten_OSG) but it seems it only work with visualstudio, and it does not say which modules are working and which are not. Do you think I should make my own port, or I can try to reuse his work ? If I have to port it myself what is the process ?
- I managed to build OpenDynamicsEngine from source but I got an archive file. In the documentation it states that it would be better to have a .so file. Do you think a ".a" would work ?
Best regards and thanks for your help !
Guillaume Leclerc