I downloaded and installed the HDF5 libraries for Windows 10 x64.
The install process creates a folder here:
Inside this folder I have these 2 folders:
I'm using Visual Studio 2019 and Intel Visual Fortran 2019, so in my project configurations I added this includes path to the "Additional Include Directories"
and added this lib folder path to the "Additional Library Directories":
I did it in VS for "All configurations" and "All Platforms"
Link Library Dependencies: YES
Finally I have to set which library files I will link.
In this project, I have to add 2 files:
So, in Linker -> Input -> Additional Dependencies, I wrote:
If I add just the first one (libhdf5_fortran.lib) and compile this project I got some linker erros because the second file is missing.
BUT, If I add these 2 files together, I got just one linker error:
LNK1181: cannot open input file 'libhdf5_fortran.lib;'
To me this is wierd because this first file was already accepted by the linker in the first attemp.
Why the linker is given this error only when I add the second *.lib file?
In the error message, is it adding a ";" to the library filename?