Hi Andreas, I'm making some progress in the linux port. I already can see the models on your page, but only if I start firefox with LD_LIBRARY_PATH set to the plugin directory.
Now I need to search for some hack to port your library search path extensions to linux. This is not easy, because the plugin is not lazily loaded like in Windows. And there's no SetDllDirectory like in Windows. So I need to find a way to patch the search path before the FF plugin is loaded, otherwise the load fails because it cannot locate libosgdb.so and libosgViewer.so. I think the right path is to have a proxy plugin, which manipulates the path and then loads the correct plugin using dlopen(). If someone knows a better way, let me know! Regards Ralph Andreas Goebel schrieb: > Hi, > > I have changed a little bit in the xpi and in the plugin itself. It now > not only adds the plugin-directory to the osg-file-path, but to the > windows-dll-search-path. This worked at least on my machine to enable > .ive-support without having the osg-libs in your path. > > Please: Those people who didn´t see the lower three models, uninstall > the old plugin, install the new one and try. Note that that function > (named SetDllDirectory ) is only available from WinXP SP1 onwards, so > this plugin won´t work with older windows versions. I think that only > very few people are using older windows now. > > Hope this works ... > > > Regards, > > Andreas > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org