Failed to install VTK 9.3.0.rc1 in VS2022 on Windows 10

Hello. I am new to VTK and I have downloaded, configured, and generated VTK with CMake.

Once I have done that, I then went to the VTK visual studio solution file that was generated under /bin and ran the build for ALL_BUILD in the solution explorer. After that was successfully built, I then ran the build of ‘INSTALL’ in the solution explorer.And then there are three errors, I don’t know how to solve them.

I have tried to start VS as administrator then find INSTALL in the solution explorer tree and build it. But same error.

What can I do now? Thanks.


The Wiki is outdated. Here is the official guide to build VTK on Windows. Please note it does not use directly visual studio.

Thanks !