[Gdal-dev] Problems installing GDAL 1.2.5 - Crashes on Make

Frank Warmerdam fwarmerdam at gmail.com
Thu Dec 9 15:49:02 EST 2004


On Thu, 9 Dec 2004 20:07:02 +0000 (UTC), William Hudspeth
<bhudspeth at edac.unm.edu> wrote:
> Hello,
> gctp_wrap.c: In function `osr_inv':
> gctp_wrap.c:64: error: `OGRSpatialReferenceH' undeclared (first use in this
> function)

William,

I haven't run into a problem like this before, but the HDF support isn't
built in all that often.  One thing I notice is that gctp_wrap.c includes
ogr_srs_api.h using angle brackets instead of the double quotes used
elsewhere in GDAL.  Try changing:

#include <ogr_srs_api.h> 

to

#include "ogr_srs_api.h"

in gdal/frmts/hdf4/hdf-eos/gctp_wrap.c and see if that helps. 

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 Gdal-dev mailing list