Hi all,

I have a problem that if I put the contents of the function 'findVertices' 
directly here, it runs perfectly. But if I separate it out and just call it 
here, it compiles well but when it runs, it gets the error of Segmentation 
fault (core dumped)....


strange?

int main( int argc, char** argv)

{

std::string file;
file = "..............citygml";

findVertices(file);

osgViewer::Viewer viewer;
viewer.setSceneData(osgDB::readNodeFile(file));
viewer.run();
 
return 1;
}


Thank you!

Cheers,
Fan

------------------------
ohhhhhhhhhhhhhh newbie to OSG......................

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50048#50048





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

Reply via email to