Hi Mukund, The code segment is fine, as to the actual cause we can only guess as we don't have your machine/OSG build and a your debuger in front of us. My best guess would be a build or linking issue. I presume you are working under Windows with VisualStudio, and if this is the case the your are likely stumbling on crappy way that VS is unable to mix DLL types. Make sure that you app links with multi-threaded DLL.
Robert. On Fri, Jan 21, 2011 at 9:10 PM, Mukund Keshav <[email protected]> wrote: > Here is the code: > > > Code: > #include <osgViewer/Viewer> > #include <osgDB/ReadFile> > > int main( int, char ** ) > { > osgViewer::Viewer viewer; > viewer.setSceneData( osgDB::readNodeFile( "cow.osg" ) ); > return viewer.run(); > } > > > > > Thanks, > > Mukund > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=35886#35886 > > > > > > _______________________________________________ > 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

