Hi, When I tried to compile the latest SVN version of VirtualPlanetBuilder, there was the following error:
1>------ Build started: Project: vpb, Configuration: Release Win32 ------ 1>Compiling... 1>DataSet.cpp 1>c:\openscenegraph-vpb-svn\src\vpb\dataset.cpp(2187) : error C4716: 'vpb::DataSet::addPatchedTerrain' : must return a value 1>Build log was saved at "file://c:\OpenSceneGraph-VPB-SVN\src\vpb\vpb.dir\Release\BuildLog.htm" 1>vpb - 1 error(s), 0 warning(s) Based on this the following function in DataSet.cpp should be changed from: bool DataSet::addPatchedTerrain(osgTerrain::TerrainTile* previous_terrain, osgTerrain::TerrainTile* new_terrain) { addTerrain(new_terrain); log(osg::NOTICE,"Currently ignoring patch terrainTile %s",previous_terrain->getName().c_str()); } To this: bool DataSet::addPatchedTerrain(osgTerrain::TerrainTile* previous_terrain, osgTerrain::TerrainTile* new_terrain) { log(osg::NOTICE,"Currently ignoring patch terrainTile %s",previous_terrain->getName().c_str()); return addTerrain(new_terrain); } When I did the above, VPB compiled cleanly. Regards, - Anna Sokol _____________________________________________________ "Once we accept our limits, we go beyond them. " -- Albert Einstein _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org