Hi Andrew,

VirtualPlanetBuilder uses the new osgViewer library to create graphics contexts.

What you should be able to do is check out the SVN version of
OpenThreads, OpenSceneGraph and VirtualPlanetBuilder and keep them all
in an single directory structure separated from the rest of the you
dev environment use env vars to point VPB at OT and OSG.
OPENTHREADS_INC_DIR,   OPENTHREADS_LIB_DIR, OSG_INC_DIR,   OSG_LIB_DIR
are the env vards I uses to get my local VPB compiling without
installing anything.

Robert.

On 4/11/07, Weitz, Andrew C. <[EMAIL PROTECTED]> wrote:
Hi,

I'm trying to use the current SVN version of VirtualPlanetBuilder with
the original release of OSG 1.2.  I'm using the osgdem.cpp that came
with VPB as my executable.  I had to slightly modify the
MyGraphicsContext class by adding underscores to the beginnings of the
traits member variables, since the underscores are present in my version
of osg::GraphicsContext.

When I try running the app, I am unable to create a valid graphics
context.  I tried replacing my GraphicsContext and GraphicsThread
classes with the current SVN versions.  Unfortunately, that requires an
upgrade of OpenThreads, which breaks the rest of my OSG build.

Is there any way to use VPB with the original release of OSG 1.2?  Does
anyone know why my graphics context creation is failing?

Thanks,
Andrew
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to