I couldn't tell from reading your post - but if you're not compiling the OSG yourself (IE...running a binary distribution), grab one of the developer snapshots and compile that.
On Mon, Mar 17, 2008 at 4:39 PM, <[EMAIL PROTECTED]> wrote: > 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 > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org