On 8 Aug 2008, at 14:43, Eric Sokolowsky wrote:

Hmm. This is very strange. I do not get this problem. The only thing that I do differently is that I don't install into /usr/local. Can you try running osgviewer from the directory where it is built? You may need to set OSG_LIBRARY_PATH to point to your plugins directory. Can you also show the results of "otool -L /path/to/osgviewer"?

Tried using the 'uninstalled' versions, same result.

otool -L gives the following, which all looks sane to me:

MacPro:Release jmt$ otool -L osgviewer
osgviewer:
/Users/jmt/Code/OSG/build-release/lib/Release/libosgViewer.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/jmt/Code/OSG/build-release/lib/Release/libosgGA.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/jmt/Code/OSG/build-release/lib/Release/libosgText.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/jmt/Code/OSG/build-release/lib/Release/libosgDB.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/jmt/Code/OSG/build-release/lib/Release/libosgUtil.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/jmt/Code/OSG/build-release/lib/Release/libosg.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/jmt/Code/OSG/build-release/lib/Release/libOpenThreads.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

You can also set your OSG_FILE_PATH to point to the OpenSceneGraph- Data directory if you don't want to keep typing that path.

Yep,. had actually done that, hadn't realised it worked for command line args as well.

So, bit of a mystery. I guess I'll build debug, see if I get the same issue, then step through the osgDB plugin loading code.

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

Reply via email to