<DIV>Hi, I'm working with HDF4 and HDF5 using gdal in VS2008, and I get lots of troubles which make me confused.</DIV>
<DIV>As all the guides said, I modified the nmake.opt like this;<BR>MSVC_VER=1500</DIV>
<DIV>GDAL_HOME = "C:\GDAL\gdal-1.6.2\bld-162"</DIV>
<DIV><BR># Uncomment the following and update to enable NCSA HDF Release 4 support.<BR>HDF4_PLUGIN = Yes<BR>HDF4_DIR = C:\GDAL\win42r4-VS2005-IVF101<BR>HDF4_LIB = $(HDF4_DIR)\dll\hd424m.lib $(HDF4_DIR)\dll\hm424m.lib $(HDF4_DIR)\lib\hd424.lib $(HDF4_DIR)\lib\hm424.lib Ws2_32.lib</DIV>
<DIV> </DIV>
<DIV># Uncomment the following and update to enable NCSA HDF Release 5 support.<BR>HDF5_PLUGIN = Yes<BR>HDF5_DIR = C:\GDAL\hdf5_183_xp32_vs2005_ivf91<BR>HDF5_LIB = $(HDF5_DIR)\dll\hdf5dll.lib</DIV>
<DIV> </DIV>
<DIV>At last ,I get all dlls even gdal_HDF5.dll, gdal_HDF5Image.dll. Then I copy them under my project folder.And it seems that not all h5 files are supported.</DIV>
<DIV> </DIV>
<DIV>I have two copy of sample data, one is from Envi 4.3, and the other is from HDFview 2.5. The Envi's h5 file will take an erro of stack overflow while using GDALOpen method, and the other won't.</DIV>
<DIV> </DIV>
<DIV>What's the materr? Data or lib? </DIV><br><br><span title="neteasefooter"/><hr/>
<a href="http://www.yeah.net/?from=footer">没有广告的终身免费邮箱,www.yeah.net</a>
</span>