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

Reply via email to