build a solution after cloning from github

I cloned the palabos repository using "git clone https://github.com/gladk/palabos.git" into the working directory. Then I tried to build the solution to make intended changes in the code. but when using cmake to make the solution I get the following error saying HDF5 library is missing and I don't know how to include this library.

CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found
version "")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.23/Modules/FindHDF5.cmake:1007 (find_package_handle_standard_args)
examples/codesByTopic/aneurysm_xdmf_hdf5_output/CMakeLists.txt:10 (find_package)

Also sometimes with other repositories I get this error, "CMake Error at CMakeLists.txt:8 (SET_TARGET_PROPERTIES): SET_TARGET_PROPERTIES called with incorrect number of arguments". any help?

in palabos tutorial it's been said that Note that the Palabos code does not compile with Visual C++, and we don’t know why; any suggestion is appreciated.
Last edited on
You have to download and install it on your computer.
https://www.hdfgroup.org/solutions/hdf5/

Alas, the README.md should have listed external libraries that you need to install to compile it, but it doesn’t.

(It looks to me like Palabos is in a zombie state between a working version 1 and an incomplete version 2. IDK if you’ll get that to compile as-is.)
Thanks for your answer. After many try and errores I used Ubuntu and got one of palabos examples running. But what makes a project to be compiled in one compiler but not in the other.
Last edited on
Topic archived. No new replies allowed.