Hello All,

I have been working with Phil Tessier on some work using OSG in a managed
code environment.  We tried using OsgDotNet, but we had some problems with
that, and others on this list recommended we use C++/CLI directly to wrap
just what we need form OSG directly, and there is an example provided on the
language wrappers page (osgCppCLIDemo.rar).  I was able to get that
compiled, but it crashes with a __RTDynamicCast exception deep within
osgViewer.dll.   The last thing I can see in the call stack is in the
InitOSG() function, in the line that uses
osg::GraphicsContext::createGraphicsContext(traits.get());

The call stack looks funny to me, because it calls osg.dll, and then
osgViewer.dll.  I am using OSG version 2.0 (because it is compatible with
OsgDotNet) and Visual Studio 2005.  Perhaps I need to upgrade OSG?

Thanks,
-- Rick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to