[osg-users] Debugging issues with VS80

2008-03-06 Thread Prasant Vajjalu Rekapalli
I am moving my code from VS 2003 to VS 2005 SP1. My code compiles correctly.

The problem I have is when I run the program in debug mode I get an access 
violation saying __non_rtti_object being accessed for 
the following function:

_pGraphicsContext = 
osgViewer::GraphicsWindowWin32::getWindowingSystemInterface()-createGraphicsContext(_pTraits);

I have enabled RTTI (the /GR option). I am using the release osg dlls compiled 
in vs 2005 available on the website (did the same 
  thing for VS 2003 and things worked fine).

Any ideas what the problem could be. Thanks.

-Prasant
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Problem with multiple screens

2007-08-16 Thread Prasant Vajjalu Rekapalli
I am using OSG with VS 7.1.

When I move my application window (i.e. CompositeViewer window) from one screen 
to another on a computer with multiple monitors,
my application crashes. In particular, it seems as though it is taking an 
eternity for each frame to be processed.

I am guessing that at each RESIZE (MOVE) event, I have to figure out which 
screen the application window is now on and update
the GraphicsTraits accordingly.

Is this right. If yes, could anyone please tell me how to achieve this. If not, 
please tell me what the problem is.

Thanks
-Prasant
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org