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

wlx wlx at mygis.org
Fri Dec 10 01:19:00 EST 2004


Hi,
    I guess the problem is your uncorrect install of hdf4 lib.
    I have installed gdal 1.2.5 with hdf4 support without problem.
    My system is debian sarge,and I installed the hdf lib by apt-get,so I
don't know what the problem happened by installing.

   Best regards,

LiangXu Wang
 
> 
> 
> Frank Warmerdam <fwarmerdam <at> gmail.com> writes:
> 
> > 
> > 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,
> 
> Hello Frank,
> 
> I made the requested changes to gctp_wrap.c and got the same 
> error messsage. I previously had some trouble installing the 
> HDF4.2r0 package, but was able to get it installed after help 
> from their people. I don't really understand the error 
> messages, so I don't know whether I should try re-installing 
> the HDF package, or if the problem lies in with the GDAL installation.
> 
> Thanks, Bill
> 
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev
> 






More information about the Gdal-dev mailing list