Hi, I'm trying to upgrade a program still running on OSG 1.2.0 to OSG 2.8.3. After some tempering I ended up getting to the point where I could compile, but after that I've gotten stuck. The following code is throwing a segmentation fault, and I can't figure out what I'm doing wrong:
Code: osg::ref_ptr<osg::Node> Scene = osgDB::readNodeFile(s); s is a string pointing towards a .osg file. This code is working fine on the machine still working with OSG 1.2.0, but it doesn't work on this machine containing 2.8.3. Having exported OSG_NOTIFY_LEVEL=DEBUG_FP after a suggestion on a different thread with a possibly related problem: forum . openscenegraph . org / viewtopic .php ?t=8036(remove spaces, couldn't post links). OSG is found to be going for /usr/local/lib/osgPlugins-2.8.3/osgdb_osg.so which does indeed contain that file. All of this seems to be correct to me, but yet these segmentation faults stop the program from working. Does anyone have any ideas how this could be fixed? Both my unix and osg experience are limited to several days, so I can imagine it to be something trivial. Thank you! Cheers, Mark ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46308#46308 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

