[mapserver-dev] Trunk won't compile without GDAL...

Steve Lime Steve.Lime at dnr.state.mn.us
Wed Apr 29 23:33:07 EDT 2009


Just an FYI. The file maprasterquery.c won't build without GDAL enabled.

maprasterquery.c: In function ‘msRASTERLayerGetExtent’:
maprasterquery.c:1310: error: ‘GDALDatasetH’ undeclared (first use in
this function)
maprasterquery.c:1310: error: (Each undeclared identifier is reported
only once
maprasterquery.c:1310: error: for each function it appears in.)
maprasterquery.c:1310: error: syntax error before ‘hDS’
maprasterquery.c:1335: error: ‘hDS’ undeclared (first use in this
function)
maprasterquery.c:1335: warning: implicit declaration of function
‘GDALOpen’
maprasterquery.c:1335: error: ‘GA_ReadOnly’ undeclared (first use in
this function)
maprasterquery.c:1339: warning: implicit declaration of function
‘GDALGetRasterXSize’
maprasterquery.c:1340: warning: implicit declaration of function
‘GDALGetRasterYSize’
maprasterquery.c:1341: warning: implicit declaration of function
‘GDALGetGeoTransform’
maprasterquery.c:1343: warning: implicit declaration of function
‘GDALClose’
make: *** [maprasterquery.o] Error 1

No biggie, just needs to be fixed at some point...

Steve


More information about the mapserver-dev mailing list