ossimplanet build on top of openscenegraph 3.3.3

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ossimplanet build on top of openscenegraph 3.3.3

epifanio
Dear list,

i’m trying to upgrade my OSSIM installation anemic OS X 10.10.4 
but it the following error for the ossmplanet lib :


[ 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$ 



I’m using homebrew to install OpenScenegraph, which is version 3.3.3
any clue on how to fix this ?

Thanks a lot!

Massimo.

------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: ossimplanet build on top of openscenegraph 3.3.3

Garrett Potts-2
Hello:

I have not upgraded to the latest OSG.  I am currently at version 3.2.0.

Take care

Garrett

On Jul 22, 2015, at 5:56 PM, epi <[hidden email]> wrote:

Dear list,

i’m trying to upgrade my OSSIM installation anemic OS X 10.10.4 
but it the following error for the ossmplanet lib :


[ 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$ 



I’m using homebrew to install OpenScenegraph, which is version 3.3.3
any clue on how to fix this ?

Thanks a lot!

Massimo.
------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: ossimplanet build on top of openscenegraph 3.3.3

David Burken
In reply to this post by epifanio
Hi Massimo,

I don't think Garrett's ported to osg 3.3.3 yet.  I don't think it's anything big.  We just need to do the port.  I'll check my mac build tomorrow and get back to you.

Dave


On 07/22/2015 05:56 PM, epi wrote:
Dear list,

i’m trying to upgrade my OSSIM installation anemic OS X 10.10.4 
but it the following error for the ossmplanet lib :


[ 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$ 



I’m using homebrew to install OpenScenegraph, which is version 3.3.3
any clue on how to fix this ?

Thanks a lot!

Massimo.


------------------------------------------------------------------------------


_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: ossimplanet build on top of openscenegraph 3.3.3

James E. Hopper
So Dave, you got a Mac?

Sent from my iPad

On Jul 22, 2015, at 6:37 PM, David Burken <[hidden email]> wrote:

Hi Massimo,

I don't think Garrett's ported to osg 3.3.3 yet.  I don't think it's anything big.  We just need to do the port.  I'll check my mac build tomorrow and get back to you.

Dave


On 07/22/2015 05:56 PM, epi wrote:
Dear list,

i’m trying to upgrade my OSSIM installation anemic OS X 10.10.4 
but it the following error for the ossmplanet lib :


[ 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$ 



I’m using homebrew to install OpenScenegraph, which is version 3.3.3
any clue on how to fix this ?

Thanks a lot!

Massimo.


------------------------------------------------------------------------------


_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer

------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer

------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Assert

James E. Hopper-2
In reply to this post by David Burken
I keep getting error that use of un identified identifier assert

Can someone building on mac tell me why it's giving me this?

------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer