Vtk 9.3.1 compilation issue with Visual Studio 2022

Since vtkDepthPeelingPassIntermediateFS.h is generated during the build, the most likely reason for the error is that it wasn’t generated completely. Just delete this file and build again, it will be located somewhere in your build folder.