[geos-devel] Error Compiling GEOS CVS and Snapshot File Missing

Darren Houston dhouston at beyondcompliance.ca
Mon May 9 13:53:00 EDT 2005


Hello everyone,

It's been about 6 months since I've updated my PostGIS and GEOS to the latest 
and greatest (CVS) to play with. I grabbed GEOS from the hourly snapshot from 
the website, configured and started to compile. An error was thrown;

../../source/headers/geos/io.h:272:29: geos/WKBWriterT.h: No such file or 
directory

Indeed, this file is missing. So, I grabbed the latest CVS source (17:00 hours 
GMT, May 9), ran autogen.sh, made sure WKBWriterT.h was in the source (which 
it was), configured and started to compile. An error was thrown;

In file included from ../../source/headers/geos/io.h:272,
                 from Geometry.cpp:28:
../../source/headers/geos/WKBWriterT.h:115: error: invalid use of member `
   geos::WKBWriterT<T>::outStream'

WKBWriterT.h is giving me problems. I looked at WKBWriterT.h, but I'm not a 
C++ programmer, so no blazing mistakes jumped out at me.

My environment is as follows;

gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
GNU Make 3.80

Let me know if you want any more info.

Hope this was usefull,

Darren H.



More information about the geos-devel mailing list