I need help to link hdf5 libraries of ITK-5.2.1/ITK-5.3 to a itk-wasm/wasi build. It seems to complain about hdf5 libraries.
- the c++ code: include <itkImageFileReader.h> causes the fdh5 link error. seems cannot find relevant libraries. please refer to cmake file and you will see i have do my bes to link those libraries into the HelloWorld final executable project.
the below picture is result of build command using itk-wasm for wasi build!
is the cmake file for the c++ program build.
this is the list of file and folder in the PROJECT_SOURCE_DIR. I copied ITK/include & ITK/lib OF THE BUILD ITK TOOLKIT INTO MY PROJECT. THUS , you would understand the CMake file. still i am getting weird build failure like itk-wasm/itkwasi does not understand thecmake file how to build this.
Note: when i remove <itkImageFileReader.h> header with the c++ program everything compiles just fine because HDF5 libriaris not linked into the final HelloWorld project.!?
node -v : v18.4.0
npm -v : 8.12.1
what is it that i am doing wrong. Any help appreciate