David1980
I need GDAL with both Shapefile and HDF4-Support, best in 64 bit.
First Ive downloaded the source code from http://trac.osgeo.org/gdal/wiki/DownloadSource.
If I compile it without changes, I get a GDAL-folder with a new GDAL19.dll. If I try to use this whole folder in my C#-project, I get a error. But if I only copy the new GDAL19.dll over the old one in the existing GDAL(32 bit)-folder it works. Is this how it should be or is something going wrong here already ?
(Its the same after changing to 64bit)
But then I cant do the third step, including HDF4. I found and changed the following section in nmake.opt, but it didnt work:
# Uncomment the following and update to enable NCSA HDF Release 4 support.
HDF4_PLUGIN = NO
HDF4_DIR = C:\HDF
HDF4_LIB = /LIBPATH:$(HDF4_DIR)\lib Ws2_32.lib
Can anybody give a step by step tutorial "How to compile GDAL with HDF4" ?
I need to know which HDF4-files I need, where to get them, and what I have to write in nmake.opt.
First Ive downloaded the source code from http://trac.osgeo.org/gdal/wiki/DownloadSource.
If I compile it without changes, I get a GDAL-folder with a new GDAL19.dll. If I try to use this whole folder in my C#-project, I get a error. But if I only copy the new GDAL19.dll over the old one in the existing GDAL(32 bit)-folder it works. Is this how it should be or is something going wrong here already ?
(Its the same after changing to 64bit)
But then I cant do the third step, including HDF4. I found and changed the following section in nmake.opt, but it didnt work:
# Uncomment the following and update to enable NCSA HDF Release 4 support.
HDF4_PLUGIN = NO
HDF4_DIR = C:\HDF
HDF4_LIB = /LIBPATH:$(HDF4_DIR)\lib Ws2_32.lib
Can anybody give a step by step tutorial "How to compile GDAL with HDF4" ?
I need to know which HDF4-files I need, where to get them, and what I have to write in nmake.opt.