[Gdal-dev] svn build error

Lucena, Ivan ivan.lucena at pmldnet.com
Sun Oct 28 03:04:20 EDT 2007


Matteusz,

The binary distribution of HDF4 doesn't carry debug libraries. So it 
looks like the solution for us is to get the source and change the 
settings to compile with all debugging libraries. Isn't it right?

Best regards,

Ivan

Mateusz Loskot wrote:
> Joaquim Luis wrote:
>> Lucena, Ivan wrote:
>>> Joaquim,
>>>
>>> The name of that library HD421md.lib could be related to HDF4.
>>>
>>> But HDF4 flags are commented on make.opt:
>>> http://trac.osgeo.org/gdal/browser/trunk/gdal/nmake.opt#L185
>>> Is it possible that your make.opt has HDF4 flags uncommented by mistake?
>> No, it's not by mistake. I normally build GDAL with hdf4 support but
>> apparently the current (tonight's) nmake is trying to link
>> against the HDF4 debug version. Hence the 'd' in "HD421md.lib"
> 
> I assume you GDAL build using Visual C++.
> A day ago, I patched debug mode flags in nmake.opt in order to build
> complete debug version of GDAL:
> 
> http://trac.osgeo.org/gdal/changeset/12549
> 
> Does linking with HD421md.lib work?
> 
> Cheers



More information about the Gdal-dev mailing list