Hi I am trying to build GDAL from source from "release/3.9 branch".
I am bit confused about the HDF5 flags i need to pass if i want to enable the HDF5 support and also build the HDF5 drivers. I am using following flags BUT i still keep getting errors shown next <arg value="-DHDF5_FIND_DEBUG=ON" /> <arg value="-DHDF5_DIR=${unpack.dir}/hdf5" /> <arg value="-DHDF5_LIBRARIES=${unpack.dir}/hdf5/lib/hdf5.lib" /> <arg value="-DHDF5_C_LIBRARY=${unpack.dir}/hdf5/lib/hdf5.lib" /> <arg value="-DHDF5_HL_LIBRARY=${unpack.dir}/hdf5/lib/hdf5_hl.lib" /> <arg value="-DHDF5_INCLUDE_DIRS=${unpack.dir}/hdf5_copy/include"/> <arg value="-DHDF5_C_INCLUDE_DIR=${unpack.dir}/hdf5/include" /> [INFO] [exec] Call Stack (most recent call first): [INFO] [exec] cmake/helpers/CheckDependentLibraries.cmake:609 (gdal_check_package) [INFO] [exec] gdal.cmake:266 (include) [INFO] [exec] -- HDF5_DEFINITIONS: -DH5_BUILT_AS_DYNAMIC_LIB [INFO] [exec] CMakeLists.txt:240 (include) [INFO] [exec] [INFO] [exec] [INFO] [exec] -- HDF5_INCLUDE_DIRS: C:\Source\gdal_39/dependencies/x64/hdf5_copy/include;C:/Source/gdal_39/dependencies/x64/hdf5/include [INFO] [exec] -- HDF5_LIBRARIES: C:\Source\gdal_39/dependencies/x64/hdf5/lib/hdf5.lib;C:Source\gdal_39/dependencies/x64/hdf5/lib/hdf5.lib;HDF5_hdf5_LIBRARY-NOTFOUND [INFO] [exec] -- HDF5_HL_LIBRARIES: [INFO] [exec] -- HDF5_C_DEFINITIONS: [INFO] [exec] -- HDF5_C_INCLUDE_DIR: C:/Source/gdal_39/dependencies/x64/hdf5/include [INFO] [exec] -- HDF5_C_INCLUDE_DIRS: C:/Source/gdal_39/dependencies/x64/hdf5/include [INFO] [exec] -- HDF5_C_LIBRARY: C:\Source\gdal_39/dependencies/x64/hdf5/lib/hdf5.lib [INFO] [exec] -- HDF5_C_LIBRARIES: C:\Source\gdal_39/dependencies/x64/hdf5/lib/hdf5.lib;HDF5_hdf5_LIBRARY-NOTFOUND [INFO] [exec] -- HDF5_C_HL_LIBRARY: [INFO] [exec] -- HDF5_C_HL_LIBRARIES: [INFO] [exec] -- Defined targets (if any): [INFO] [exec] -- Configuring incomplete, errors occurred! Can anyone assist? Best regards,
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev