I am building HDF5 and rest-vol using cmake then building using Visual Studio as Debug and RelWithDeb. The HDF5 build produces different libraries and binaries for debug (add _D). Rest-vol has the same name for both configurations (overwriting old). My application includes the correct library based on build config, but since yours is the same name, I am forced to use what is built last. This is a problem when I build my application with Debug but rest-vol did Release build last. When I run my application, my app using the debug version of hdf5 but rest-vol is using release version of hdf5. This causes MANY problems and not easy to find. Luckily, I saw that hdf5.dll and hdf5_D.dll modules were loaded in the debugger.
I am building HDF5 and rest-vol using cmake then building using Visual Studio as Debug and RelWithDeb. The HDF5 build produces different libraries and binaries for debug (add _D). Rest-vol has the same name for both configurations (overwriting old). My application includes the correct library based on build config, but since yours is the same name, I am forced to use what is built last. This is a problem when I build my application with Debug but rest-vol did Release build last. When I run my application, my app using the debug version of hdf5 but rest-vol is using release version of hdf5. This causes MANY problems and not easy to find. Luckily, I saw that hdf5.dll and hdf5_D.dll modules were loaded in the debugger.