I’m trying to port my project to WebAssembly with Emscripten. I used this source of VTK and some external libraries. And when I compiling a test project, I get the following warnings:
warning: undefined symbol: _ZN15vtkImageStencil3NewEv warning: undefined symbol: _ZN16vtkImageYBRToRGB3NewEv . . .
These warnings cause errors on browser and caused by New() functions. For example this:
static vtkImageStencil *New();
vtkImageStencil* imageStencil = vtkImageStencil::New();
So what do you think about this problem? What can I do?