Hello @jeje and welcome to the VTK discourse forum.
- Please ensure that you are using
master
branch for best results. - The complete build guide is in Building using emscripten for WebAssembly - VTK documentation. Use this command like described in the docs Building using emscripten for WebAssembly - VTK documentation
emcmake cmake -S .. -B . -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=OFF