[geos-devel] MingW compilation errors and patches

strk at refractions.net strk at refractions.net
Tue Jun 27 12:07:15 EDT 2006


On Mon, Jun 26, 2006 at 02:18:58PM -0600, Charlie Savage wrote:
> >>Any suggestions?
> >
> >Is it a clean checkout ?
> >I guess the above can happen if you change GEOS_INLINES define
> >between different builds (deps problems).
> 
> Just to be sure, I deleted my copy of GEOS, and rechecked out.  Ran 
> ./autogen.sh, then ./configure.  Same issue.  Its actually not just 
> constructors, for example:
> 
> .libs/libgeos.lax/libnoding.a/MCIndexSnapRounder.o: In function 
> `ZN4geos6noding9snapround18MCIndexSnapRounderD1Ev':C:/Development/msys/src/geos/source/noding/snapround/MCIndexSnapRounder.cpp:(.text$_ZNK4geos6noding9snapround18MCIndexSnapRounder18getNodedSubstringsEv[__ZNK4geos6noding9snapround18MCIndexSnapRounder18getNodedSubstringsEv]+0x0): 
> multiple definition of 
> `geos::noding::snapround::MCIndexSnapRounder::getNodedSubstrings() const'
> 
> Haven't touched the GEOS_INLINES define.

mmm... I suppose it will work if you exclude source/inlines.cpp
from the build. Can you confirm ?
Next step would be checking preprocessor output for it.

> >>2.  The finite function

Applied your patch in HCoordinate.cpp

--strk;



More information about the geos-devel mailing list