Following the instructions:

http://www.hdfgroup.org/HDF5/release/cmakebuild.html

 I'm able to build the HDF5 1.8.14 libraries on my target machine. The
release and debug versions of the libraries are both successfully built.
I then build the testhdf5 with the RUN_TESTS.vcxproj project. Here are
the results, truncated at the first error. Similar errors are reported an
additional 33 times:

***************************************************************************
Testing  -- Configure definitions (config)
Testing  -- Encoding/decoding metadata (metadata)
Testing  -- Checksum algorithm (checksum)
Testing  -- Ternary Search Trees (tst)
Testing  -- Memory Heaps (heap)
Testing  -- Skip Lists (skiplist)
Testing  -- Reference Counted Strings (refstr)
Testing  -- Low-Level File I/O (file)
Testing  -- Generic Object Functions (objects)
Testing  -- Dataspaces (h5s)
*** UNEXPECTED RETURN from H5Fopen is -1 line  188 in
C:\hdf\CMake\hdf5-1.8.14\test\th5s.c
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: C:\hdf\CMake\hdf5-1.8.14\src\H5F.c line 604 in H5Fopen(): unable
to open file
    major: File accessibilty
    minor: Unable to open file
  #001: C:\hdf\CMake\hdf5-1.8.14\src\H5Fint.c line 992 in H5F_open():
unable to open file: name = 'th5s.h5', tent_flags = 0
    major: File accessibilty
    minor: Unable to open file
  #002: C:\hdf\CMake\hdf5-1.8.14\src\H5FD.c line 992 in H5FD_open(): open
failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: C:\hdf\CMake\hdf5-1.8.14\src\H5FDsec2.c line 343 in
H5FD_sec2_open(): unable to open file: name = 'th5s.h5', errno = 2,
error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
***cannot open the pre-created H5S_MAX_RANK test file (th5s.h5)

***************************************************************************

A similar error occurs in my application, in release mode,  debug mode
libraries appear to work fine.



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to