Hi Nathan It looks like the CMake module to find HDF library is picking hdf5.dll instead of hdf5.lib import library for some reason. Maybe as a workaround you can manually set the HDF5_C_LIBRARIES variable to the correct .lib file. We are using the standard CMake module to find HDF, so if this issue persists, we may need to replace that cmake module with our own version for windows. Or maybe Jurgen has some trick how to make it work on Windows :-)
Cheers Martin On Sat, Sep 29, 2018 at 6:56 AM Nathan Woodrow <[email protected]> wrote: > > Hi, > > Trying to build on Windows for master I'm getting the following: > > C:\OSGeo4W\bin\hdf5.dll : fatal error LNK1107: invalid or corrupt file: > cannot read at 0x2B0 > > It looks like cmake is trying to use that in the scripts and not the lib file > but I can't see why it wants to do that. > > Any thoughts? > > > > - Nathan > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
