Hi Race?

The most common cause of crashes under windows is that the MS compiler is
crap and can't handle mixing runtime and debug libs or handle different
memory allocators used in different libs.  So check that all your libs are
built the same or just move to a more developer friendly platform.

Robert.

On 8 November 2012 02:32, Race Maine <[email protected]> wrote:

> 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
> [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

Reply via email to