[Mapserver-users] compile problem
Frank Warmerdam
warmerdam at pobox.com
Fri Mar 14 07:33:20 PST 2003
Aaron D. Hunt wrote:
> when I compile 3.7 with the config of
> ./configure --without-tiff --without-jpeg --with-proj --with-gdal
> --with-php=../php-4.3.2RC1 --with-ogr --with-gdal
>
> I get the following error. Can any one help?
>
> c++ -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ
> -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_GD_PNG -DUSE_GD_JPEG
> -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_OGR -DUSE_GDAL
> -I/usr/include -I/usr/local/include -I/usr/local/include
> mapogr.cpp -o mapogr.o
> mapogr.cpp: In function `msOGRFileInfo *msOGRFileOpen (layerObj *,
> const char *)':
> mapogr.cpp:888: no matching function for call to
> `OGRDataSource::ExecuteSQL (char *&, NULL, NULL)'
> mapogr.cpp: In function `int msOGRFileClose (layerObj *, msOGRFileInfo
> *)':
> mapogr.cpp:949: no matching function for call to
> `OGRDataSource::ReleaseResultSet (OGRLayer *&)'
> make: *** [mapogr.o] Error 1
> [hunt at genesis mapserver_dev]$ make
> c++ -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ
> -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_GD_PNG -DUSE_GD_JPEG
> -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_OGR -DUSE_GDAL
> -I/usr/include -I/usr/local/include -I/usr/local/include
> mapogr.cpp -o mapogr.o
> mapogr.cpp: In function `msOGRFileInfo *msOGRFileOpen (layerObj *,
> const char *)':
> mapogr.cpp:888: no matching function for call to
> `OGRDataSource::ExecuteSQL (char *&, NULL, NULL)'
> mapogr.cpp: In function `int msOGRFileClose (layerObj *, msOGRFileInfo
> *)':
> mapogr.cpp:949: no matching function for call to
> `OGRDataSource::ReleaseResultSet (OGRLayer *&)'
> make: *** [mapogr.o] Error 1
Aaron,
What version of GDAL are you using. Recent additions to mapogr.cpp make
a version of GDAL 1.1.8 or later pretty much manditory.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list