Use HDF5 by NI LabWindows/CVI

Is there anyone try to use HDF5 in NI LabWindows/CVI?
I have failed to import hdf5.h and hdf5.dll and generate corresponding hdf5.lib into my CVI project.

OS: Winodws 8.1
Visual Studio 2015 Community. VC++ support is installed.
Build-VS2015-32.bat in CMake-hdf5-1.10.2 can be executed successfully.
Compiler: LabWindows/CVI 9.0 32-bit C compiler
Download pre-built binary
https://support.hdfgroup.org/ftp/HDF5/current18/bin/windows/hdf5-1.8.20-Std-win7_32-vs14.zip
Install to C:\Program Files (x86)\HDF_Group\HDF5\1.8.20
Create a new project in CVI
Try to include header and DLL file into CVI project.
(1) Include “hdf5.h” from C:\Program Files (x86)\HDF_Group\HDF5\1.8.20\include
(2) Double click hdf5.h file in CVI project tree to open it
(3) Menu Options -> Generate DLL Import Library to search hdf5.dll from
Error message -> The include file “sys\types.h” was not found
Conversion process fails, any idea?

I’d love a solution to this too, except I’m on Windows 10 and wanting to HDF5 to a LabWindows/CVI 2015 project.

I brought the source into a new project to create a DLL. The compile fails when H5public.h tries to access “H5pubconfig.h”. The file doesn’t exist in the source distribution. I kind of assume it’s something that’s built when you run an installer so the code knows something about the machine. Of course this is Windows and not Linux so you can’t use the supplied config utilities.

Does anyone know what this file should look like , or preferably, what it should contain for a Win 10 CVI installation?

Beer money for helpful answers - seriously.

Thanks,

Howard

Open a new project in CVI
(1) Include “hdf5.h” from C:\Program Files (x86)\HDF_Group\HDF5\1.8.20\include
(2) Double click hdf5.h file in CVI project tree to open it
(3) Modify the following include files
H5Gpublic.h
//#include <sys/types.h> //commented
H5pubconf.h
//#define H5_HAVE_SYS_TYPES_H 1 //commented
or
#define H5_HAVE_SYS_TYPES_H 0
or
#undef H5_HAVE_SYS_FILE_H