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  :

   - Boost
   - Protobuf (I found this : https://github.com/invokr/protobuf-emscripten)
   - Zlib (available in emscripten ports)
   - PNG (available in emscripten ports)
   - OpenSceneGraph (I found this 
   https://github.com/Kurdakov/emscripten_OSG)
   - Jansson (I could eventually get rid of this dependency because 
   Javascript handles JSON natively)
   - OpenDynamicsEngine
   
I have a lot of question I hope somebody has the time to answer me :



   1. 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 ?
   2. 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 ?
   3. 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 

-- 
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.

Reply via email to