On Mac OS X *debug* version executables look for *release* version named plug-in shared libraries.

$ osgviewerd cow.osg
Warning: Could not find plugin to read objects from file "cow.osg".
osgviewerd: No data loaded

With OSG_NOTIFY_LEVEL=DEBUG...

DynamicLibrary::failed loading "osgPlugins-2.7.7/osgdb_osg.so"

I worked around the problem by creating links like this

$ ln -s osgdb_osgd.so osgdb_osg.so

for all plugin libraries. This was seen with a fresh debug only build of Friday's 2.7.7 release for Mac OS X. A similar build on 64-bit Linux did not
exhibit this problem.  Also, nothing to do with out-of-source builds.


-Don Leich

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to