Emscripten vtk: fatal error: 'vtkSelectPolyData.h' file not found
- I have followed #18263 (comment 1045208) to compile vtk inorder using in js.
- It worked fine at first, but recently I found it that maybe don't contain some .h file, like 'vtkSelectPolyData.h.
- When i build some projects that #include <vtkSelectPolyData.h>, fatal error: 'vtkSelectPolyData.h' file not found.
- I'm not sure if I made a mistake or if I didn't include the header in the first place.
CMakeLists.txt
find_package(VTK COMPONENTS CommonColor CommonCore CommonDataModel IOGeometry FiltersCore FiltersSources FiltersModeling FiltersGeneral FiltersGeometry FiltersSources )
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=D:\develop\environment\c++\emsdk\upstream\emscripten\cmake\Modules\Platform\Emscripten.cmake -DBUILD_SHARED_LIBS=OFF -DVTK_DIR=D:\develop\environment\c++\work\build-vtk-wasm\lib\cmake\vtk-9.0 ..
cmake --build .
Whether all features of vtk are not available in Emscripten mode?
Edited by Zhihao Ma