Hi,
Unfortunately, the issue is still not solved completely. At first, all osgb files were loaded correctly. But after deinstalling the dynamic osg libraries I found that some osgb files could still not be loaded - also not by the osgstaticviewer.
Without the dynamic libraries/plugins, the osgstaticviewer is able to load an osgt file but not the corresponding osgb file. The logs show the following:
...
Warning: dynamic library 'libosg.so' does not exist (or isn't readable):
./libosg.so: cannot open shared object file: No such file or directory
DynamicLibrary::failed loading "libosg.so"
Warning: dynamic library 'osgPlugins-3.0.1/osgdb_serializers_osg.so' does not exist (or isn't readable):
osgPlugins-3.0.1/osgdb_serializers_osg.so: cannot open shared object file: No such file or directory
DynamicLibrary::failed loading "osgPlugins-3.0.1/osgdb_serializers_osg.so"
Warning: dynamic library 'osgPlugins-3.0.1/osgdb_osg.so' does not exist (or isn't readable):
osgPlugins-3.0.1/osgdb_osg.so: cannot open shared object file: No such file or directory
DynamicLibrary::failed loading "osgPlugins-3.0.1/osgdb_osg.so"
InputStream::readObject(): Unsupported wrapper class osg::DefaultUserDataContainer
InputStream: Failed to read from stream. At osg::Group osg::Group osg::MatrixTransform osg::Group osg::Geode osg::Geode osg::Geometry osg::Drawable osg::StateSet osg::StateSet
...
Why is the osgstaticviewer loading dynamic libraries?
Why is the osgstaticviewer able to load an osgt file but not a corresponding osgb file (without the dynamic libraries/plugins installed)?
Is there anything that can be done to fix this?
Thank you for any help,
Cheers,
Thilo
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49154#49154