[gdal-dev] netcdf option build error
jeshua at OpenOSX.com
Wed Apr 30 13:46:57 EDT 2008
On Apr 29, 2008, at 2:23 PM, Jeshua Lacock wrote:
> GDapi.c: In function 'GDsdid':
> GDapi.c:10873: error: 'MAX_VAR_DIMS' undeclared (first use in this
> GDapi.c:10873: error: (Each undeclared identifier is reported only
> GDapi.c:10873: error: for each function it appears in.)
> GDapi.c:10873: warning: unused variable 'dims'
> make: *** [../../o/GDapi.o] Error 1
> make: *** [lib-hdfeos] Error 2
> make: *** [hdf4-install-obj] Error 2
> make: *** [frmts-target] Error 2
> make: *** [gdal] Error 2
Can anyone inform me where MAX_VAR_DIMS is expected to be? I cannot
make sense of it.
GDapi.c includes "mfhdf.h" (opposed to <mfhdf.h>), however, there is
not any "mfhdf.h" in the GDAL branch. Copying "mfhdf.h" to /frmts/hdf4/
hdf-eos does not help either, nor does including "hdf4_netcdf.h".
This would help me figure out what is going on a great deal.
Jeshua Lacock, Owner
More information about the gdal-dev