[osg-users] Memory problems in Windows/Visual Studio

Mark Jablin jablin at bridgetech-laramie.com
Thu Apr 19 08:20:29 PDT 2018


Hi,

I'm just getting started with OpenSceneGraph and just working through some basic examples.  I'm running Windows 10 and using Visual Studio 17.  I'm building everything using x64.

The problem occurs any time I use a ref_ptr.  All the examples I've run work properly until exiting the application, when I get  a deallocation error.

I have attached my source code, the OSG debug output, and a screenshot of the error message.

It seems like I have a setting wrong or maybe missed something when I configured OSG when installing it.  Does anyone have any ideas about where to start debugging this?

Thank you!

Mark

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




Attachments: 
http://forum.openscenegraph.org//files/error_209.jpg
http://forum.openscenegraph.org//files/main_675.cpp
http://forum.openscenegraph.org//files/output_686.txt




More information about the osg-users mailing list