[Slackbuilds-users] cant build osgEarth.

Fernando Lopez fernando.lopezjr at gmail.com
Tue Feb 7 23:13:48 UTC 2017


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


-- 

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


More information about the SlackBuilds-users mailing list