Hi,

The osgslice example fails on windows vista on revision 10691. 
GraphicsContext::setWindowingSystemInterface is never called because the static 
object "RegisterWindowingSystemInterfaceProxy 
createWindowingSystemInterfaceProxy" in GraphicsWindowWin32.cpp is never 
instantiated.

Even if not using the viewer, the example is supposed to link with 
osgViewerd.lib, but it seems the global object is just wiped out for a reason I 
can't explain... Creating a dummy viewer at the end of the main function force 
the instantiation of the global object and lets the example run.

Tested in debug on Visual Studio 2005. This really looks like a compiler 
issue...

regards,

Vincent Gadoury

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





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

Reply via email to