[postgis-users] Compilation error postgis_geos_wrapper.c

Düster Horst Horst.Duester at bd.so.ch
Tue Oct 14 03:22:00 PDT 2003


During compilation of PostGIS with GEOS the compilation process breaks with
the following error message:
 
c++ -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRO
NTEND -DSYSCONFDIR='"/home/hdus/local/etc/postgresql"'  -DUSE_VERSION=72
-I/home/hdus
/local/include/geos -DUSE_GEOS -I../../src/include   -c -o
postgis_geos_wrapper.o pos
tgis_geos_wrapper.cpp
postgis_geos_wrapper.cpp: In function `POINT3D *GEOSGetCoordinate
(geos::Geometry *)':
postgis_geos_wrapper.cpp:839: cannot convert `const geos::Coordinate *'
to `geos::Coordinate *' in initialization
postgis_geos_wrapper.cpp: In function `geos::Geometry *GEOSGetGeometryN
(geos::Geometry *, int)':
postgis_geos_wrapper.cpp:929: cannot convert `const geos::Geometry *'
to `geos::Geometry *' in return
postgis_geos_wrapper.cpp: In function `geos::Geometry
*GEOSGetExteriorRing (geos::Geometry *)':
postgis_geos_wrapper.cpp:943: cannot convert `const geos::LineString *'
to `geos::Geometry *' in return
postgis_geos_wrapper.cpp: In function `geos::Geometry
*GEOSGetInteriorRingN (geos::Geometry *, int)':
postgis_geos_wrapper.cpp:956: cannot convert `const geos::LineString *'
to `geos::Geometry *' in return
make: *** [postgis_geos_wrapper.o] Error 1
 
GEOS_20031014
Postgis-cvs from today
PostgreSQL 7.2.4
 
Any hint???
 
With best regards 
 

Dr. Horst Düster 
Leiter 
Abteilung SO!GIS Koordination
Rötihof 
4500 Solothurn 

Tel.: 032 627 25 32 
Fax: 032 627 22 14

horst.duester at bd.so.ch <mailto:horst.duester at bd.so.ch> 
www.sogis.so.ch <http://www.sogis.so.ch/> 


 



More information about the postgis-users mailing list