is there a .bat file that sets up the environment for vtk c++ programming?

It is very hard to build VTK with cmake, I wander if there is there a .bat file that config all env, path and starts visual studio IDE.

Hi @bunny

I’m afraid not, but to be honest building VTK with cmake is trivial. See the build guide here:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/dev/build.md#windows

However, this build guide is designed to not use VisualStudio but ninja instead.

1 Like