itk-wasm wasi build for c++ program

@matt.mccormick , @dzenanz ,


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.

  1. 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.

  1. the below picture is result of build command using itk-wasm for wasi build!

  2. is the cmake file for the c++ program build.

  3. 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