I'm trying to use VTK 7.1.1 with OpenVR on HTC Vive device. I have configured VTK using CMake 3.3.0 and built its solution using Visual Studio 2012. But when I tried to generate the solution for the example file in VTK-7.1.1/Rendering/OpenVR
through CMake, it gave the following error:
Could not find a package configuration file provided by "OpenVR" with any of the following names:
OpenVRConfig.cmake openvr-config.cmake
In addition to this CMake insisted for openvr_dir
path to be manually set but did not accept the path pointing to openvr_master
folder having the required contents.
How do I fix this?