[geos-devel] Re: [GEOS] #222: GEOS 3.0 won't link on ARM-EABI platform

GEOS geos-trac at osgeo.org
Sun Dec 20 05:48:02 EST 2009

#222: GEOS 3.0 won't link on ARM-EABI platform
 Reporter:  jcrepetto  |        Owner:  geos-devel at lists.osgeo.org
     Type:  defect     |       Status:  new                       
 Priority:  major      |    Milestone:  3.3.0                     
Component:  Default    |      Version:  3.1.1                     
 Severity:  Critical   |   Resolution:                            
 Keywords:             |  
Comment (by letop):

 Replying to [comment:1 pramsey]:
 > Sorry, we need a patch on this that you like, we don't have ARM systems
 lying around to re-create it.

 I already made a description of the fix in my post, but here is one that I
 had to redo on 'geos-3.2.0' to make it build:

 --- inlines-3.2.0.cpp   2009-12-20 11:38:18.000000000 +0100
 +++ build/geos-3.2.0/source/inlines.cpp 2009-12-20 11:43:48.000000000
 @@ -59,7 +59,17 @@
  #include <geos/geom/CoordinateArraySequenceFactory.inl>
  #include <geos/noding/SegmentString.inl>
  #include <geos/noding/snapround/HotPixel.inl>
 -#include <geos/noding/snapround/MCIndexSnapRounder.inl>
 +// Include MCIndexSnapRounder.inl line commented.
 +//  Resolves double definition of
 +//  on ARM platform.
 +//  The header inclusion does not just include, but also creates code for
 +//  MCIndexSnapRounder.
 +// osgeo.org Ticket #222
 +// Fix suggested by Mario De Weerd.
 +// Impact must be analysed on other platforms.
 +//#include <geos/noding/snapround/MCIndexSnapRounder.inl>
  #include <geos/noding/MCIndexNoder.inl>

  #endif // defined __CYGWIN__

Ticket URL: <http://trac.osgeo.org/geos/ticket/222#comment:8>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

More information about the geos-devel mailing list