Hdf5 vs2010 x64 how to compile correctly version 1.8.14

  1. i have compile hdf5 1.8.14 the library with visual studio 2010 x64 and some warning
    and not all test was ok

  2. i try to compile: https://support.hdfgroup.org/ftp/HDF5/current/src/unpacked/c++/examples/h5tutr_crtdat.cpp
    with vs2010 x64 but it compile with some warning but when it run nothing happen and this show:

HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
#000: …\hdf5-1.8.14\src\H5F.c line 604 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#001: …\hdf5-1.8.14\src\H5Fint.c line 990 in H5F_open(): unable to open file: time = Wed May 09 20:05:28 2018
, name = ‘áó’, tent_flags = 1
major: File accessibilty
minor: Unable to open file
#002: …\hdf5-1.8.14\src\H5FD.c line 992 in H5FD_open(): open failed
major: Virtual File Layer
minor: Unable to initialize object
#003: …\hdf5-1.8.14\src\H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = ‘áó’, errno = 22, error message = ‘Invalid argument’, flags = 1, o_flags = 2
major: File accessibilty
minor: Unable to open file

Any idea where is the problem ?

  1. what is the latest version of the libraries (1.8.14 ?) completely compatible with vs2010 x64 ?
    Thanks

Hello,

HDF5 doesn’t support non-ascii file names. This is a known problem that we have to address.

Try to rename the file.

Thank you!

Elena