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.
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.!?
However, when reading an image with itk-wasm, you want to use itk::wasm::Pipeline and itk::wasm::InputImage. Please review this example that provides more documentation:
Thank you matt i just could try both wasi and wasm project for hellopipeline and MedianImageFilter. Both worked like a charm. I also checked out new commitments in ITK-WASM and it is very useful and nice. @matt.mccormick & @dzenanz appreciate the effort. I am wondering do you have any links for articles or docs that can help me to understand pipeline mechanism in both wasi and node.js.