Open kerim371 opened 10 months ago
Did you do this for your application? https://h5z-zfp.readthedocs.io/en/latest/installation.html#including-h5z-zfp-filter-in-a-cmake-project
Hello @kerim371 and @brtnfld,
Looking at the latest version h5z_zfp-config.cmake
it is correct Windows is not properly supported. At least not MSVC. Since the static and shared version of the filter are stored in different directory it should be straightforward to implement support for Windows.
At the time when I converted the existing build system (Unix/Linux based) to a CMake build system I did not consider the possibility to build the filter on Windows. Nevertheless, I am happy to read that you want to do this. If desired I can take a look the problem.
Did you do this for your application? https://h5z-zfp.readthedocs.io/en/latest/installation.html#including-h5z-zfp-filter-in-a-cmake-project
Yes I tried this.
@jwsblokland it would be great to imrove CMake config so that it could be properly linked with CMake on Windows. And I can tell you that if I link it directly to my app then it works:
target_link_libraries(FastIO PUBLIC "C:\\Users\\user\\dev\\H5Z-ZFP-install\\lib\\h5zzfp.lib")
target_link_libraries(FastIO PUBLIC "C:\\Users\\user\\dev\\zfp-install\\lib\\zfp.lib")
So there is only a little defect with CMake config.
Looks like the config file didn't get updated to a more general method. We have done this for all the config files in hdf5/hdf4. Just need to use the CMake suggestions for creating the .in file.
Hi,
I just tried to install and link aganist
H5Z-ZFP
with cmake but it gives configuration error:and it seems that
h5z_zfp-config.cmake
doesn't look for.dll
libraries. My content of this file:H5Z-ZFP git tag:
v1.1.1