OpenCV Viz Module Unavailable (Cmake) - Windows 10
I can't seem to get the viz module to configure for some reason. Any suggestions?
My Configuration:
- Windows 10 OpenCV - master from git
- OpenCV_contrib - master from git
- VTK latest version compiled and installed in C:/VTK
- WITH_VTK = ON
- VTK_DIR = C:/VTK/lib/cmake/vtk-9.0
Hit Configure and get:
OpenCV Modules:
Unavailable: ... viz
-- EDIT: --
In the CMake log, it still can't find VTK,is says:
VTK, it says:
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
The problem is that the file "VTKConfig.cmake" doesn't exist. I have "vtk-config.cmake" in the build dir but that doesn't seem to appease cmake. Renaming didn't help.
Is there something special that needs to be done to make VTK create this file or tell OpenCV's cmake to look for the right one...