#970: CMake broken on winnie and appveyor (mingw64, VS) and travis ------------------------+--------------------------- Reporter: robe | Owner: geos-devel@… Type: defect | Status: closed Priority: major | Milestone: 3.8.0 Component: Default | Version: master Severity: Unassigned | Resolution: fixed Keywords: | ------------------------+--------------------------- Changes (by robe):
* status: new => closed * resolution: => fixed Comment: For the record I think this issue is fixed. On winnie I had: {{{ -DGEOS_ENABLE_INLINE=NO }}} But this variable had been removed in https://git.osgeo.org/gitea/geos/geos/commit/b15fd1171823d16195bee17f2c7b44778603258d and replaced with a reverse {{{ DISABLE_GEOS_INLINE }}} In either case the default is to turn inlining ON. But in using inlining on, I would get these errors in CMAKE for mingw64 building: {{{ CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x658): multiple definition of `geos::geomgraph::DirectedEdge::isInResult()' CMakeFiles/geos.dir/objects.a(DirectedEdgeStar.cpp.obj):DirectedEdgeStar.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge10isInResultEv[_ZN4geos9geomgraph12DirectedEdge10isInResultEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x684): multiple definition of `geos::geomgraph::DirectedEdge::setVisited(bool)' CMakeFiles/geos.dir/objects.a(DirectedEdge.cpp.obj):DirectedEdge.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge10setVisitedEb[_ZN4geos9geomgraph12DirectedEdge10setVisitedEb]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x6c0): multiple definition of `geos::geomgraph::DirectedEdge::getEdgeRing()' CMakeFiles/geos.dir/objects.a(DirectedEdgeStar.cpp.obj):DirectedEdgeStar.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge11getEdgeRingEv[_ZN4geos9geomgraph12DirectedEdge11getEdgeRingEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x70a): multiple definition of `geos::geomgraph::DirectedEdge::getDepth(int)' CMakeFiles/geos.dir/objects.a(DirectedEdgeStar.cpp.obj):DirectedEdgeStar.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge8getDepthEi[_ZN4geos9geomgraph12DirectedEdge8getDepthEi]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x72a): multiple definition of `geos::geomgraph::DirectedEdge::getSym()' CMakeFiles/geos.dir/objects.a(DirectedEdgeStar.cpp.obj):DirectedEdgeStar.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge6getSymEv[_ZN4geos9geomgraph12DirectedEdge6getSymEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x740): multiple definition of `geos::geomgraph::DirectedEdge::isForward()' CMakeFiles/geos.dir/objects.a(EdgeRing.cpp.obj):EdgeRing.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge9isForwardEv[_ZN4geos9geomgraph12DirectedEdge9isForwardEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x756): multiple definition of `geos::geomgraph::DirectedEdge::setSym(geos::geomgraph::DirectedEdge*)' CMakeFiles/geos.dir/objects.a(PlanarGraph.cpp.obj):PlanarGraph.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge6setSymEPS1_[_ZN4geos9geomgraph12DirectedEdge6setSymEPS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x774): multiple definition of `geos::geomgraph::DirectedEdge::getNext()' CMakeFiles/geos.dir/objects.a(EdgeRing.cpp.obj):EdgeRing.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge7getNextEv[_ZN4geos9geomgraph12DirectedEdge7getNextEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x78a): multiple definition of `geos::geomgraph::DirectedEdge::setNext(geos::geomgraph::DirectedEdge*)' CMakeFiles/geos.dir/objects.a(DirectedEdgeStar.cpp.obj):DirectedEdgeStar.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge7setNextEPS1_[_ZN4geos9geomgraph12DirectedEdge7setNextEPS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x7be): multiple definition of `geos::geomgraph::DirectedEdge::setNextMin(geos::geomgraph::DirectedEdge*)' CMakeFiles/geos.dir/objects.a(DirectedEdgeStar.cpp.obj):DirectedEdgeStar.cpp:(.text$_ZN4geos9geomgraph12DirectedEdge10setNextMinEPS1_[_ZN4geos9geomgraph12DirectedEdge10setNextMinEPS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x7dc): multiple definition of `geos::geomgraph::GeometryGraph::getBoundaryNodes(std::vector<geos::geomgraph::Node*, std::allocator<geos::geomgraph::Node*> >&)' CMakeFiles/geos.dir/objects.a(GeometryGraph.cpp.obj):GeometryGraph.cpp:(.text$_ZN4geos9geomgraph13GeometryGraph16getBoundaryNodesERSt6vectorIPNS0_4NodeESaIS4_EE[_ZN4geos9geomgraph13GeometryGraph16getBoundaryNodesERSt6vectorIPNS0_4NodeESaIS4_EE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x812): multiple definition of `geos::geomgraph::GeometryGraph::getGeometry()' CMakeFiles/geos.dir/objects.a(EdgeEndStar.cpp.obj):EdgeEndStar.cpp:(.text$_ZN4geos9geomgraph13GeometryGraph11getGeometryEv[_ZN4geos9geomgraph13GeometryGraph11getGeometryEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x824): multiple definition of `geos::geomgraph::GeometryGraph::~GeometryGraph()' CMakeFiles/geos.dir/objects.a(PointLocator.cpp.obj):PointLocator.cpp:(.text$_ZN4geos9geomgraph13GeometryGraphD1Ev[_ZN4geos9geomgraph13GeometryGraphD1Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x882): multiple definition of `geos::geomgraph::GeometryGraph::~GeometryGraph()' CMakeFiles/geos.dir/objects.a(PointLocator.cpp.obj):PointLocator.cpp:(.text$_ZN4geos9geomgraph13GeometryGraphD0Ev[_ZN4geos9geomgraph13GeometryGraphD0Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x8a8): multiple definition of `geos::algorithm::ConvexHull::ConvexHull(geos::geom::Geometry const*)' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos9algorithm10ConvexHullC1EPKNS_4geom8GeometryE[_ZN4geos9algorithm10ConvexHullC1EPKNS_4geom8GeometryE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x91c): multiple definition of `geos::algorithm::ConvexHull::~ConvexHull()' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos9algorithm10ConvexHullD1Ev[_ZN4geos9algorithm10ConvexHullD1Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x940): multiple definition of `geos::algorithm::ConvexHull::extractCoordinates(geos::geom::Geometry const*)' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos9algorithm10ConvexHull18extractCoordinatesEPKNS_4geom8GeometryE[_ZN4geos9algorithm10ConvexHull18extractCoordinatesEPKNS_4geom8GeometryE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x9b8): multiple definition of `geos::geom::GeometryCollection::begin() const' CMakeFiles/geos.dir/objects.a(PointLocator.cpp.obj):PointLocator.cpp:(.text$_ZNK4geos4geom18GeometryCollection5beginEv[_ZNK4geos4geom18GeometryCollection5beginEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x9f2): multiple definition of `geos::geom::GeometryCollection::end() const' CMakeFiles/geos.dir/objects.a(PointLocator.cpp.obj):PointLocator.cpp:(.text$_ZNK4geos4geom18GeometryCollection3endEv[_ZNK4geos4geom18GeometryCollection3endEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xa2c): multiple definition of `geos::geom::LineSegment::LineSegment(geos::geom::LineSegment const&)' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos4geom11LineSegmentC1ERKS1_[_ZN4geos4geom11LineSegmentC1ERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xa8a): multiple definition of `geos::geom::LineSegment::LineSegment(geos::geom::Coordinate const&, geos::geom::Coordinate const&)' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos4geom11LineSegmentC1ERKNS0_10CoordinateES4_[_ZN4geos4geom11LineSegmentC1ERKNS0_10CoordinateES4_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xb76): multiple definition of `geos::geom::LineSegment::LineSegment()' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos4geom11LineSegmentC1Ev[_ZN4geos4geom11LineSegmentC1Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xbe0): multiple definition of `geos::geom::LineSegment::~LineSegment()' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos4geom11LineSegmentD1Ev[_ZN4geos4geom11LineSegmentD1Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xbfa): multiple definition of `geos::geom::LineSegment::~LineSegment()' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZN4geos4geom11LineSegmentD0Ev[_ZN4geos4geom11LineSegmentD0Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xc20): multiple definition of `geos::geom::LineSegment::distancePerpendicular(geos::geom::Coordinate const&) const' CMakeFiles/geos.dir/objects.a(MinimumDiameter.cpp.obj):MinimumDiameter.cpp:(.text$_ZNK4geos4geom11LineSegment21distancePerpendicularERKNS0_10CoordinateE[_ZNK4geos4geom11LineSegment21distancePerpendicularERKNS0_10CoordinateE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xc60): multiple definition of `geos::geom::LineSegment::pointAlong(double, geos::geom::Coordinate&) const' CMakeFiles/geos.dir/objects.a(Densifier.cpp.obj):Densifier.cpp:(.text$_ZNK4geos4geom11LineSegment10pointAlongEdRNS0_10CoordinateE[_ZNK4geos4geom11LineSegment10pointAlongEdRNS0_10CoordinateE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xdd6): multiple definition of `geos::geom::LineSegment::setCoordinates(geos::geom::Coordinate const&, geos::geom::Coordinate const&)' CMakeFiles/geos.dir/objects.a(LineSegment.cpp.obj):LineSegment.cpp:(.text$_ZN4geos4geom11LineSegment14setCoordinatesERKNS0_10CoordinateES4_[_ZN4geos4geom11LineSegment14setCoordinatesERKNS0_10CoordinateES4_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xefe): multiple definition of `geos::geom::LineSegment::getLength() const' CMakeFiles/geos.dir/objects.a(Densifier.cpp.obj):Densifier.cpp:(.text$_ZNK4geos4geom11LineSegment9getLengthEv[_ZNK4geos4geom11LineSegment9getLengthEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x125c): multiple definition of `geos::geom::PrecisionModel::~PrecisionModel()' CMakeFiles/geos.dir/objects.a(Geometry.cpp.obj):Geometry.cpp:(.text$_ZN4geos4geom14PrecisionModelD1Ev[_ZN4geos4geom14PrecisionModelD1Ev]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1268): multiple definition of `geos::geom::PrecisionModel::makePrecise(geos::geom::Coordinate*) const' CMakeFiles/geos.dir/objects.a(GeometryFactory.cpp.obj):GeometryFactory.cpp:(.text$_ZNK4geos4geom14PrecisionModel11makePreciseEPNS0_10CoordinateE[_ZNK4geos4geom14PrecisionModel11makePreciseEPNS0_10CoordinateE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x12c0): multiple definition of `geos::geom::PrecisionModel::getScale() const' CMakeFiles/geos.dir/objects.a(Geometry.cpp.obj):Geometry.cpp:(.text$_ZNK4geos4geom14PrecisionModel8getScaleEv[_ZNK4geos4geom14PrecisionModel8getScaleEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x131a): multiple definition of `geos::geom::Envelope::getMaxY() const' CMakeFiles/geos.dir/objects.a(InteriorPointArea.cpp.obj):InteriorPointArea.cpp:(.text$_ZNK4geos4geom8Envelope7getMaxYEv[_ZNK4geos4geom8Envelope7getMaxYEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1338): multiple definition of `geos::geom::Envelope::getMaxX() const' CMakeFiles/geos.dir/objects.a(Envelope.cpp.obj):Envelope.cpp:(.text$_ZNK4geos4geom8Envelope7getMaxXEv[_ZNK4geos4geom8Envelope7getMaxXEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1356): multiple definition of `geos::geom::Envelope::getMinY() const' CMakeFiles/geos.dir/objects.a(InteriorPointArea.cpp.obj):InteriorPointArea.cpp:(.text$_ZNK4geos4geom8Envelope7getMinYEv[_ZNK4geos4geom8Envelope7getMinYEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1374): multiple definition of `geos::geom::Envelope::getMinX() const' CMakeFiles/geos.dir/objects.a(Envelope.cpp.obj):Envelope.cpp:(.text$_ZNK4geos4geom8Envelope7getMinXEv[_ZNK4geos4geom8Envelope7getMinXEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1390): multiple definition of `geos::geom::Envelope::intersects(geos::geom::Coordinate const&) const' CMakeFiles/geos.dir/objects.a(PointLocator.cpp.obj):PointLocator.cpp:(.text$_ZNK4geos4geom8Envelope10intersectsERKNS0_10CoordinateE[_ZNK4geos4geom8Envelope10intersectsERKNS0_10CoordinateE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1408): multiple definition of `geos::geom::Envelope::intersects(geos::geom::Envelope const&) const' CMakeFiles/geos.dir/objects.a(Envelope.cpp.obj):Envelope.cpp:(.text$_ZNK4geos4geom8Envelope10intersectsERKS1_[_ZNK4geos4geom8Envelope10intersectsERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x142e): multiple definition of `geos::geom::Envelope::isNull() const' CMakeFiles/geos.dir/objects.a(Envelope.cpp.obj):Envelope.cpp:(.text$_ZNK4geos4geom8Envelope6isNullEv[_ZNK4geos4geom8Envelope6isNullEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1450): multiple definition of `geos::geom::Envelope::intersects(geos::geom::Envelope const*) const' CMakeFiles/geos.dir/objects.a(Envelope.cpp.obj):Envelope.cpp:(.text$_ZNK4geos4geom8Envelope10intersectsEPKS1_[_ZNK4geos4geom8Envelope10intersectsEPKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x15c8): multiple definition of `geos::geom::Coordinate::setNull()' CMakeFiles/geos.dir/objects.a(MinimumBoundingCircle.cpp.obj):MinimumBoundingCircle.cpp:(.text$_ZN4geos4geom10Coordinate7setNullEv[_ZN4geos4geom10Coordinate7setNullEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1606): multiple definition of `geos::geom::Coordinate::isNull() const' CMakeFiles/geos.dir/objects.a(MinimumBoundingCircle.cpp.obj):MinimumBoundingCircle.cpp:(.text$_ZNK4geos4geom10Coordinate6isNullEv[_ZNK4geos4geom10Coordinate6isNullEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1666): multiple definition of `geos::geom::Coordinate::Coordinate(double, double, double)' CMakeFiles/geos.dir/objects.a(Area.cpp.obj):Area.cpp:(.text$_ZN4geos4geom10CoordinateC1Eddd[_ZN4geos4geom10CoordinateC1Eddd]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x16aa): multiple definition of `geos::geom::Coordinate::equals2D(geos::geom::Coordinate const&) const' CMakeFiles/geos.dir/objects.a(ConvexHull.cpp.obj):ConvexHull.cpp:(.text$_ZNK4geos4geom10Coordinate8equals2DERKS1_[_ZNK4geos4geom10Coordinate8equals2DERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x172c): multiple definition of `geos::geom::Coordinate::compareTo(geos::geom::Coordinate const&) const' CMakeFiles/geos.dir/objects.a(ConvexHull.cpp.obj):ConvexHull.cpp:(.text$_ZNK4geos4geom10Coordinate9compareToERKS1_[_ZNK4geos4geom10Coordinate9compareToERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x185e): multiple definition of `geos::geom::Coordinate::distance(geos::geom::Coordinate const&) const' CMakeFiles/geos.dir/objects.a(Centroid.cpp.obj):Centroid.cpp:(.text$_ZNK4geos4geom10Coordinate8distanceERKS1_[_ZNK4geos4geom10Coordinate8distanceERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1944): multiple definition of `geos::geom::Coordinate::hashCode(double)' CMakeFiles/geos.dir/objects.a(Envelope.cpp.obj):Envelope.cpp:(.text$_ZN4geos4geom10Coordinate8hashCodeEd[_ZN4geos4geom10Coordinate8hashCodeEd]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1976): multiple definition of `geos::geom::CoordinateLessThen::operator()(geos::geom::Coordinate const*, geos::geom::Coordinate const*) const' CMakeFiles/geos.dir/objects.a(ConvexHull.cpp.obj):ConvexHull.cpp:(.text$_ZNK4geos4geom18CoordinateLessThenclEPKNS0_10CoordinateES4_[_ZNK4geos4geom18CoordinateLessThenclEPKNS0_10CoordinateES4_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x19f1): multiple definition of `geos::geom::operator==(geos::geom::Coordinate const&, geos::geom::Coordinate const&)' CMakeFiles/geos.dir/objects.a(Distance.cpp.obj):Distance.cpp:(.text$_ZN4geos4geomeqERKNS0_10CoordinateES3_[_ZN4geos4geomeqERKNS0_10CoordinateES3_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1a40): multiple definition of `geos::geom::GeometryFactory::getSRID() const' CMakeFiles/geos.dir/objects.a(Geometry.cpp.obj):Geometry.cpp:(.text$_ZNK4geos4geom15GeometryFactory7getSRIDEv[_ZNK4geos4geom15GeometryFactory7getSRIDEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1a52): multiple definition of `geos::geom::GeometryFactory::getCoordinateSequenceFactory() const' CMakeFiles/geos.dir/objects.a(ConvexHull.cpp.obj):ConvexHull.cpp:(.text$_ZNK4geos4geom15GeometryFactory28getCoordinateSequenceFactoryEv[_ZNK4geos4geom15GeometryFactory28getCoordinateSequenceFactoryEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1af4): multiple definition of `geos::geom::MultiLineString::MultiLineString(geos::geom::MultiLineString const&)' CMakeFiles/geos.dir/objects.a(MultiLineString.cpp.obj):MultiLineString.cpp:(.text$_ZN4geos4geom15MultiLineStringC1ERKS1_[_ZN4geos4geom15MultiLineStringC1ERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1bd4): multiple definition of `geos::geom::MultiLineString::clone() const' CMakeFiles/geos.dir/objects.a(MultiLineString.cpp.obj):MultiLineString.cpp:(.text$_ZNK4geos4geom15MultiLineString5cloneEv[_ZNK4geos4geom15MultiLineString5cloneEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1c34): multiple definition of `virtual thunk to geos::geom::MultiLineString::clone() const' CMakeFiles/geos.dir/objects.a(MultiLineString.cpp.obj):MultiLineString.cpp:(.text$_ZTv0_n24_NK4geos4geom15MultiLineString5cloneEv[_ZTv0_n24_NK4geos4geom15MultiLineString5cloneEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1cce): multiple definition of `geos::geom::MultiPolygon::MultiPolygon(geos::geom::MultiPolygon const&)' CMakeFiles/geos.dir/objects.a(MultiPolygon.cpp.obj):MultiPolygon.cpp:(.text$_ZN4geos4geom12MultiPolygonC1ERKS1_[_ZN4geos4geom12MultiPolygonC1ERKS1_]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1dae): multiple definition of `geos::geom::MultiPolygon::clone() const' CMakeFiles/geos.dir/objects.a(MultiPolygon.cpp.obj):MultiPolygon.cpp:(.text$_ZNK4geos4geom12MultiPolygon5cloneEv[_ZNK4geos4geom12MultiPolygon5cloneEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1e0e): multiple definition of `virtual thunk to geos::geom::MultiPolygon::clone() const' CMakeFiles/geos.dir/objects.a(MultiPolygon.cpp.obj):MultiPolygon.cpp:(.text$_ZTv0_n24_NK4geos4geom12MultiPolygon5cloneEv[_ZTv0_n24_NK4geos4geom12MultiPolygon5cloneEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1e18): multiple definition of `geos::geom::CoordinateArraySequenceFactory::create() const' CMakeFiles/geos.dir/objects.a(CoordinateArraySequenceFactory.cpp.obj):CoordinateArraySequenceFactory.cpp:(.text$_ZNK4geos4geom30CoordinateArraySequenceFactory6createEv[_ZNK4geos4geom30CoordinateArraySequenceFactory6createEv]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1e7a): multiple definition of `geos::geom::CoordinateArraySequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, unsigned long long) const' CMakeFiles/geos.dir/objects.a(CoordinateArraySequenceFactory.cpp.obj):CoordinateArraySequenceFactory.cpp:(.text$_ZNK4geos4geom30CoordinateArraySequenceFactory6createEPSt6vectorINS0_10CoordinateESaIS3_EEy[_ZNK4geos4geom30CoordinateArraySequenceFactory6createEPSt6vectorINS0_10CoordinateESaIS3_EEy]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1ee8): multiple definition of `geos::geom::CoordinateArraySequenceFactory::create(unsigned long long, unsigned long long) const' CMakeFiles/geos.dir/objects.a(CoordinateArraySequenceFactory.cpp.obj):CoordinateArraySequenceFactory.cpp:(.text$_ZNK4geos4geom30CoordinateArraySequenceFactory6createEyy[_ZNK4geos4geom30CoordinateArraySequenceFactory6createEyy]+0x0): first defined here CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x1f56): multiple definition of `geos::geom::CoordinateArraySequenceFactory::create(geos::geom::CoordinateSequence const&) const' CMakeFiles/geos.dir/objects.a(CoordinateArraySequenceFactory.cpp.obj):CoordinateArraySequenceFactory.cpp:(.text$_ZNK4geos4geom30CoordinateArraySequenceFactory6createERKNS0_18CoordinateSequenceE[_ZNK4geos4geom30CoordinateArraySequenceFactory6createERKNS0_18CoordinateSequenceE]+0x0): first defined here CMakeFiles/geos.dir/objects.a(WKBReader.cpp.obj):WKBReader.cpp:(.text$_ZN4geos2io21ByteOrderDataInStreamC1EPSi[_ZN4geos2io21ByteOrderDataInStreamC1EPSi]+0x0): multiple definition of `geos::io::ByteOrderDataInStream::ByteOrderDataInStream(std::istream*)' CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xbc): first defined here CMakeFiles/geos.dir/objects.a(WKBReader.cpp.obj):WKBReader.cpp:(.text$_ZN4geos2io21ByteOrderDataInStream11setInStreamEPSi[_ZN4geos2io21ByteOrderDataInStream11setInStreamEPSi]+0x0): multiple definition of `geos::io::ByteOrderDataInStream::setInStream(std::istream*)' CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0xf8): first defined here CMakeFiles/geos.dir/objects.a(WKBReader.cpp.obj):WKBReader.cpp:(.text$_ZN4geos2io21ByteOrderDataInStream8setOrderEi[_ZN4geos2io21ByteOrderDataInStream8setOrderEi]+0x0): multiple definition of `geos::io::ByteOrderDataInStream::setOrder(int)' CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x114): first defined here CMakeFiles/geos.dir/objects.a(WKBReader.cpp.obj):WKBReader.cpp:(.text$_ZN4geos2io21ByteOrderDataInStream8readByteEv[_ZN4geos2io21ByteOrderDataInStream8readByteEv]+0x0): multiple definition of `geos::io::ByteOrderDataInStream::readByte()' CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x12c): first defined here CMakeFiles/geos.dir/objects.a(WKBReader.cpp.obj):WKBReader.cpp:(.text$_ZN4geos2io21ByteOrderDataInStream7readIntEv[_ZN4geos2io21ByteOrderDataInStream7readIntEv]+0x0): multiple definition of `geos::io::ByteOrderDataInStream::readInt()' CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x23a): first defined here CMakeFiles/geos.dir/objects.a(WKBReader.cpp.obj):WKBReader.cpp:(.text$_ZN4geos2io21ByteOrderDataInStream10readDoubleEv[_ZN4geos2io21ByteOrderDataInStream10readDoubleEv]+0x0): multiple definition of `geos::io::ByteOrderDataInStream::readDouble()' CMakeFiles/geos.dir/objects.a(inlines.cpp.obj):inlines.cpp:(.text+0x472): first defined here CMakeFiles/geos.dir/objects.a(LengthIndexOfPoint.cpp.obj):LengthIndexOfPoint.cpp:(.text$_ZNK4geos4geom11LineSegment8distanceERKNS0_10CoordinateE[_ZNK4geos4geom11LineSegment8distanceERKNS0_10CoordinateE]+0x0): multiple definition of `geos::geom::LineSegment::distance(geos::geom::Coordinate const&) const' }}} So solution was to either restore the old name or change my script to using -D -DDISABLE_GEOS_INLINE=ON I opted for reverting to the old behavior since pramsey didn't seem to care and the new would be a breaking change. at https://git.osgeo.org/gitea/geos/geos/commit/1fb11b298d4890afb6a86cdf3325b1272a5def1c -- Ticket URL: <https://trac.osgeo.org/geos/ticket/970#comment:6> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel