[Qgis-developer] QGIS Building Error

Tom Elwertowski telwertowski at comcast.net
Mon Jan 28 20:34:35 EST 2008

Hi Marco,

I think you might have a problem which the definition of GEOS_INLINE. I do not have Windows or MSYS but I have seen this error.

This was a MinGW bug in GEOS 3.0.0rc3. It was fixed for MinGW in rc4 but broke other platforms including Mac which I use. I proposed a solution which fixed other platforms for rc5 and hopefully did not break MinGW again.

Look at the GEOS inline.cpp/h files. There are MinGW-specific conditionals there. Make sure that the same values are used both for building GEOS and QGIS.

It looks like the missing functions are not in the library because GEOS_INLINE was defined for the library but not in QGIS because GEOS_INLINE was not defined for QGIS.


Marco Pasetti wrote:
> Hi,
> I reported erros building qgis (0.9.1). It reports:
> undefined reference to `geos::io::WKTReader::~WKTReader()
> undefined reference to `geos::geom::Coordinate::~Coordinate()
> Attached the whole error list (txt).
> I created my own MSYS enviroment using GEOS 3.0.0 source code; should I use
> 2.2.3 instead? In this case, can I only re-build GEOS using 2.2.3 source
> code, or do I need to repeat all the instructions in the wiki after GEOS?
> Thanks,
> Marco

More information about the Qgis-developer mailing list