I'm trying to compile OpenCV on Windows 10 with all the modules (following this tutorial).
This is the error I get after pressing "Configure":
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory,
or to VTK install subdirectory with VTKConfig.cmake file
I've installed VTK 7 by the msi
file.
I tried to specify a library path but it didn't help (using the same method from here), and also set an environment path for this.
What else can I do to pass this error?