Hi, Mark This is probably building\linking issue. Either you build with includes from one osg version and linking to other, or something along these lines Check if you are building with includes from same osg version as you linking to, and running with same libs, you linking with(you can get libraries which will be used on program start with "ldd <program>"). To get backtrace you should run your program with gdb "gdb --args <program and arguments>" type run and type bt when it crashes
16.03.2012, 13:35, "Mark Green" <[email protected]>: > Hi Robert, > > I'm working on linux, and with my limited experience on it I'm unaware how to > obtain said stacktrace (Visual Studio has been too awesome on windows). > > Meanwhile however I've stripped the entire program down to the bare minimum > to see if there were any influences from other code, and this is what I've > got now and which is giving me the same segmentation fault. Other classes are > still being compiled but they are never referenced or called, and building it > is going fine. > > Code: > > #include <iostream> > #include <string> > #include <osgDB/ReadFile> > using namespace std; > > int main( int argc, char **argv ) > { > string s = "/home/username/OSG-Project/cow.osg"; > std::cout << " test" << s << std::endl; > osg::ref_ptr<osg::Node> Scene = osgDB::readNodeFile(s); > std::cout << " test2 " << std::endl; > return 0; > } > > Cheers, > Mark > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=46337#46337 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

