I downloaded
Windows (64-bit) 1 Compilers: CMake VS 2013 C, C++, IVF 15 from here
Now I read on their homepage that
For example hdf5.lib and libhdf5.lib
I would like to link dynamically. On their homepage they say that
To use the shared libraries on Windows specify the H5_BUILT_AS_DYNAMIC_LIB compile definition.
What does this mean??? What do they want me to do in order to use the libraries without prefix for dynamic linbking?
For anyone who comes across this question and is using Visual Studio, another solution is to open the project properties and go to Configuration Properties ⇒ C/C++ ⇒ Preprocessor and add H5_BUILT_AS_DYNAMIC_LIB
to the list of Preprocessor Definitions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With