[gdal-dev] More on compiling with HDF4, now on Windows

Jeff McKenna jmckenna at gatewaygeomatics.com
Sat Jun 14 07:56:14 EDT 2008


The MapServer buildkit[1] contains HDF5-1.6.5 and compiles with no  
issues with MSVC.

[1] http://download.osgeo.org/buildkit/


---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/





On 13-Jun-08, at 5:34 PM, Joaquim Luis wrote:

> The nmake.opt settings won't let us compile with HDF42r2.
>
> While for 42r1 all we need is to set (like indicated in the file)
>
> HDF4_DIR =    c:\prorgrams\HDF42r1
> HDF4_LIB =    /LIBPATH:$(HDF4_DIR)\lib Ws2_32.lib
>
> The above doesn't work for HDF42r2 (some 700 symbols not found)
>
> By trial (and it worths what it worths) this worked
> HDF4_LIB =   $(HDF4_DIR)\dll\hm422m.lib $(HDF4_DIR)\dll\hd422m.lib $ 
> (HDF4_DIR)\dll\mfhdf_fcstubdll.lib Ws2_32.lib
>
> Joaquim Luis
>


More information about the gdal-dev mailing list