Hi,
I am working with OpenSceneGraph, and I keep running into this violation issue that I would appreciate some help with. The problem is with the particular line below which happens to be the first in my main function.
Code:
osg::ref_ptr<osg::Node> bench = osgDB::readNodeFile("Models/test.IVE");
I have my models folder right in my directory. The error is as below.
Unhandled exception at 0x68630A6C (msvcr100.dll) in OSG3D.exe: 0xC0000005: Access violation reading location 0x00421000.
And this is where the problem seems to be coming up.
Code:
/** Read an osg::Node from file.
* Return valid osg::Node on success,
* return NULL on failure.
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
* for the filename extension, and this plugin then handles the request
* to read the specified file.*/
inline osg::Node* readNodeFile(const std::string& filename)
{
return readNodeFile(filename,Registry::instance()->getOptions());
}
Please help me fix this problem. Any help will be appreciated.
Thank you!
Cheers,
Race
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51008#51008
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org