Hi there, I have spent today implementing a class to handle a Wii remote in a basic console application. When I got that working, I imported the code into an openscenegraph project and everything still works lovely.
The problem comes when the program ends. Even if I comment out all of the code associated with my WiiHandler class and just have a skeleton OSG app, the error still appears. Here is my Main.cpp code, just opening a blank OSG scene: pastebin. com/1ASYrpip (remove space, i cannot post links yet :( ) Has anyone else ever had a problem like this? My WiiHandler class is not yet linked up to any form of osg callback, the only way it has to update is by the getScreenPos() function. The fact that it breaks as it is executing the final bracket tells me that it is something to do with OSG's stack cleanup. I take it the dynamic memory is taken care of by the scenegraph (no tutorials i have seen say 'delete root')? Even if that is the case, my heap shouldn't be hitting my stack with a program as simple as this! Can anyone shed some light on the subject? Thanks, Simon ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42499#42499 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

