This suggests that linking to boost and Ogre did not succeed properly. Try double-checking that the libraries you are linking to do indeed contain the symbols that it claims unresolved.
Another route could be to try to just pass the libraries as standard inputs, i.e. em++ -o a.html a.o b.c libOgreMain.a libOIS.a libboost_system.a in case you compiled these to static libraries. 2014-04-07 16:48 GMT+03:00 Erasme Beck <erasmeb...@gmail.com>: > Hello! > > thank you Floh for your answer, it cleared things up. > Unfortunately, I still get errors when linking libraries to my project. > Here is my command line: > > Building target: TutorielsOgre.html > Invoking: GCC C++ Linker > em++ -L/home/erasme/Sources/ogre/lib > -L/home/erasme/Sources/boost_1_55_0/stage/lib -L/usr/lib/i386-linux-gnu > -shared -o "TutorielsOgre.html" ./OgreBasicTutorial6/BasicTutorial6.o > ./BaseApplication.o -lOgreMain -lOIS -lboost_system -lOgreOverlay > -lOgreTerrain > > > And the warnings: > > warning: unresolved symbol: _ZN5boost6system16generic_categoryEv > warning: unresolved symbol: _ZN5boost6system15system_categoryEv > warning: unresolved symbol: > _ZN4Ogre20WindowEventUtilities25removeWindowEventListenerEPNS_12RenderWindowEPNS_19WindowEventListenerE > warning: unresolved symbol: _ZN4Ogre4RootD1Ev > warning: unresolved symbol: > _ZN4Ogre4RootC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_S9_ > warning: unresolved symbol: _ZN4Ogre10ConfigFileC1Ev > > > When I launch the project in a web browser, I get this error: > > Uncaught ReferenceError: __ZN5boost6system16generic_categoryEv is not > defined > > > Any idea? > > -- > 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 emscripten-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 emscripten-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.