Opened 9 years ago

#2352 new defect

ossimplanet compatibility with OSG 3.4

Reported by: epifanio Owned by: potts@…
Priority: normal Milestone: OMAR Dec 2012
Component: ossimPlanet Version: ossim/OMAR 1.8.14-3
Severity: blocker Keywords: ossimplanet, openscenegraph, build
Cc: epiesasha@…

Description

ossimplanet fails to build with latest OSG stable, log attached

` [ 68%] Building CXX object ossimPlanet/CMakeFiles/ossimPlanet.dir/src/ossimPlanet/ossimPlanetDestinationCommandAction.cpp.o [ 68%] Building CXX object ossimPlanet/CMakeFiles/ossimPlanet.dir/src/ossimPlanet/ossimPlanetDistanceAccumulator.cpp.o /usr/local/src/ossim/ossimPlanet/src/ossimPlanet/ossimPlanetDistanceAccumulator.cpp:244:33: error: no viable conversion from 'const BoundingSphere'

(aka 'const BoundingSphereImpl<osg::Vec3f>') to 'const osg::BoundingBox' (aka 'const BoundingBoxImpl<osg::Vec3f>')

const osg::BoundingBox &bb = drawable->getBound();

/usr/local/include/osg/BoundingBox:33:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const BoundingSphere'

(aka 'const BoundingSphereImpl<osg::Vec3f>') to 'const osg::BoundingBoxImpl<osg::Vec3f> &' for 1st argument

class BoundingBoxImpl

/usr/local/include/osg/BoundingBox:55:16: note: candidate template ignored: could not match 'BoundingBoxImpl' against 'BoundingSphereImpl'

inline BoundingBoxImpl(const BoundingBoxImpl<BT>& bb) :

1 error generated. make[2]: * [ossimPlanet/CMakeFiles/ossimPlanet.dir/src/ossimPlanet/ossimPlanetDistanceAccumulator.cpp.o] Error 1 make[1]: * [ossimPlanet/CMakeFiles/ossimPlanet.dir/all] Error 2 make: * [all] Error 2 `

Change History (0)

Note: See TracTickets for help on using tickets.