Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created July 21, 2015 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ce7d417b520d7ceb0b55 to your computer and use it in GitHub Desktop.
Save anonymous/ce7d417b520d7ceb0b55 to your computer and use it in GitHub Desktop.
[ 62%] Building CXX object ossimPlanet/CMakeFiles/ossimPlanet.dir/src/ossimPlanet/ossimPlanetDistanceAccumulator.cpp.o
/Users/epi/dev/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
epimac:build epi$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment