[Slackbuilds-users] cant build osgEarth.

Fernando Lopez fernando.lopezjr at gmail.com
Wed Feb 8 09:02:57 UTC 2017


i was able to compile *osgEarth 2.8* with *GEOS 3.5.0*

On Tue, Feb 7, 2017 at 8:01 PM, Willy Sudiarto Raharjo <
willysr at slackbuilds.org> wrote:

> > i get errors when building it... also, 2.8 is out... maybe maintainer can
> > update?
> >
> > [ 18%] Built target osgEarth
> > Scanning dependencies of target osgEarthSymbology
> > [ 18%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.
> dir/AltitudeSymbol.cpp.o
> > [ 18%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/Color.cpp.o
> > [ 18%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.
> dir/CoverageSymbol.cpp.o
> > [ 18%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/CssUtils.cpp.o
> > [ 19%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/Expression.cpp.o
> > [ 19%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.
> dir/ExtrusionSymbol.cpp.o
> > [ 19%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/Fill.cpp.o
> > [ 19%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/Geometry.cpp.o
> > [ 19%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.
> dir/GeometryFactory.cpp.o
> > [ 19%] Building CXX object
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/GEOS.cpp.o
> > In file included from
> > /tmp/SBo/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS.cpp:25:0:
> > /usr/include/geos/geom/GeometryFactory.h: In constructor
> > ‘osgEarth::Symbology::GEOSContext::GEOSContext()’:
> > /usr/include/geos/geom/GeometryFactory.h:453:2: error:
> > ‘geos::geom::GeometryFactory::GeometryFactory(const
> > geos::geom::PrecisionModel*)’ is protected
> >   GeometryFactory(const PrecisionModel *pm);
> >   ^
> > /tmp/SBo/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS.cpp:215:52:
> > error: within this context
> >      _factory = new geos::geom::GeometryFactory( pm );
> >                                                     ^
> > In file included from
> > /tmp/SBo/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS.cpp:25:0:
> > /usr/include/geos/geom/GeometryFactory.h: In destructor
> > ‘osgEarth::Symbology::GEOSContext::~GEOSContext()’:
> > /usr/include/geos/geom/GeometryFactory.h:474:10: error: ‘virtual
> > geos::geom::GeometryFactory::~GeometryFactory()’ is protected
> >   virtual ~GeometryFactory();
> >           ^
> > /tmp/SBo/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS.cpp:223:12:
> > error: within this context
> >      delete _factory;
> >             ^
> > In file included from
> > /tmp/SBo/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS.cpp:25:0:
> > /usr/include/geos/geom/GeometryFactory.h: In member function ‘void
> > osgEarth::Symbology::GEOSContext::disposeGeometry(
> geos::geom::Geometry*)’:
> > /usr/include/geos/geom/GeometryFactory.h:474:10: error: ‘virtual
> > geos::geom::GeometryFactory::~GeometryFactory()’ is protected
> >   virtual ~GeometryFactory();
> >           ^
> > /tmp/SBo/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS.cpp:333:20:
> > error: within this context
> >              delete f;
> >                     ^
> > src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/build.make:278:
> > recipe for target
> > 'src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/GEOS.cpp.o'
> failed
> > make[2]: ***
> > [src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/GEOS.cpp.o]
> Error 1
> > CMakeFiles/Makefile2:385: recipe for target
> > 'src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/all' failed
> > make[1]: *** [src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.
> dir/all]
> > Error 2
> > Makefile:149: recipe for target 'all' failed
> > make: *** [all] Error 2
>
> Even 2.8 still failed to build
>
> In file included from
> /tmp/SBo/osgearth-2.8/src/osgEarthSymbology/GEOS.cpp:25:0:
> /usr/include/geos/geom/GeometryFactory.h: In constructor
> ‘osgEarth::Symbology::GEOSContext::GEOSContext()’:
> /usr/include/geos/geom/GeometryFactory.h:453:2: error:
> ‘geos::geom::GeometryFactory::GeometryFactory(const
> geos::geom::PrecisionModel*)’ is protected
>   GeometryFactory(const PrecisionModel *pm);
>   ^
> /tmp/SBo/osgearth-2.8/src/osgEarthSymbology/GEOS.cpp:219:52: error:
> within this context
>      _factory = new geos::geom::GeometryFactory( pm );
>                                                     ^
> In file included from
> /tmp/SBo/osgearth-2.8/src/osgEarthSymbology/GEOS.cpp:25:0:
> /usr/include/geos/geom/GeometryFactory.h: In destructor
> ‘osgEarth::Symbology::GEOSContext::~GEOSContext()’:
> /usr/include/geos/geom/GeometryFactory.h:474:10: error: ‘virtual
> geos::geom::GeometryFactory::~GeometryFactory()’ is protected
>   virtual ~GeometryFactory();
>           ^
> /tmp/SBo/osgearth-2.8/src/osgEarthSymbology/GEOS.cpp:227:12: error:
> within this context
>      delete _factory;
>             ^
> In file included from
> /tmp/SBo/osgearth-2.8/src/osgEarthSymbology/GEOS.cpp:25:0:
> /usr/include/geos/geom/GeometryFactory.h: In member function ‘void
> osgEarth::Symbology::GEOSContext::disposeGeometry(geos::geom::Geometry*)’:
> /usr/include/geos/geom/GeometryFactory.h:474:10: error: ‘virtual
> geos::geom::GeometryFactory::~GeometryFactory()’ is protected
>   virtual ~GeometryFactory();
>           ^
> /tmp/SBo/osgearth-2.8/src/osgEarthSymbology/GEOS.cpp:337:20: error:
> within this context
>              delete f;
>                     ^
> src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/build.make:350:
> recipe for target
> 'src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/GEOS.cpp.o' failed
> make[2]: ***
> [src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/GEOS.cpp.o] Error
> 1
> CMakeFiles/Makefile2:333: recipe for target
> 'src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/all' failed
> make[1]: ***
> [src/osgEarthSymbology/CMakeFiles/osgEarthSymbology.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
>
> reported upstream: https://github.com/gwaldron/osgearth/issues/865
>
>
> --
> Willy Sudiarto Raharjo
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
>


-- 

------------
Regards,
    Fernando Lopez Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170208/4065ef15/attachment.html>


More information about the SlackBuilds-users mailing list