[Gdal-dev] Problem with HDF4 samples
Frank Warmerdam
warmerdam at pobox.com
Thu Jul 13 09:19:00 EDT 2006
Daniele Romagnoli wrote:
> Ok. Now I have downloaded the library required to build GDAL with HDF4
> support.
>
> But now I have another question.
>
> The HDF42r1 folder contains two subdirectories:
> DLL which contains:
> hd421m.dll
> hd421m.lib
> hm421m.dll
> hm421m.lib
>
> and LIB which contains:
> hd421.lib
> hm421.lib
>
> How I need to configure the NMAKE.OPT?
> I'm talking about the second options of the HDF4 support section
> (HDF4_LIB).
>
>
>
> # Uncomment the following and update to enable NCSA HDF Release 4 support.
> HDF4_DIR = c:\work\HDF42r1
> HDF4_LIB = /LIBPATH:$(HDF4_DIR)\lib Ws2_32.lib
>
>
>
> There is no Ws2_32.lib in the HDF42r1's lib directory.
> Which of the previously introduced *.lib I need to set in this option?
Daniele,
The WS2_32.LIB library is a visual studio provided library, not part of
HDF4 itself. I can't remember exactly what it provides, possibly the
byte swapping functions. So just listing the library, as done above,
should be fine.
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 | President OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list