Hoping I have chosen the best category to explain my problem.
I am willing to develop a small project using many libraries including HDF5 library from hdfgroup and the OTB.
My system: Windows10 and Ubuntu 18.04
Version of the OTB: 7.1
*I installed the OTB with the binaries given and also SuperBuild
Description of my issue
When I am compiling a small project using that includes these two libraries, some errors appears on the header files of hdfgroup library that do not raise when I am not including OTB.
Therefore, I think there is a conflict between hdfgroup library and the HDF5 library and header files that are provided with OTB.
I tried a workaround by building without HDF5 the OTB (using the SuperBuild install). I have no trouble doing this on Ubuntu system.
However, on Windows 10, it is not compiling since it fails all the tests (PNG files, etc). Possible reason is that it is “forced” to use the MinGW gcc compiler (while I have a 64 bit system) in spite of the cmake configuration that points the C compiler to Visual Studio.