gisinternals / buildsystem

Build system on www.gisinternals.com
MIT License
33 stars 10 forks source link

building HDF5 with VS2015 without SZIP #113

Open deng0 opened 6 years ago

deng0 commented 6 years ago

Hi,

I'm trying to build HDF5 without SZIP (commercial license problem) and with ZLIB instead by adding the '#' before the "SZIP_DIR=szip-2.1" line.

Until now I used VS2010 and I did not have any problem. But with VS2015 I get a cmake problem with hdf5-1.8.14. With newer hdf5 versions this cmake problem is gone but there are other compiler problems. I think the newer hdf5 versions expect a different zlib version.

With my limited experience I have not been able to get it to work.

I would appreciate any help.

Kind regards, dengo

deng0 commented 6 years ago

I've managed to compile hdf5-1.8.14 with VS2015 by backporting some VS2015 adjustments from a newer version of hdf5 to 1.8.14. If anyone is interested, I can post these changes.

But in the end I think it would be better to make GDAL compile with the current version of HDF5.