There are two problems in VTK 8.1.1 building with CMake
I am using Windows 10 (64 bits), CMake 3.11.4 and Visual Studio 2015 (64 bits) to build VTK 8.1.1. But there are two following problems:
If I turn on BUILD_EXAMPLES in CMake, there is an error message when build the "ALL BUILD" project in the visual studio 2015. The error message "Cannot open include file: 'vtkRegressionTestImage.h': No such file or directory".
If I turn on Module_vtkSupportMFC and VTK_RENDERING_BACKEND is OpenGL2 in the CMake, I cannot build the "ALL_BUILD" project in the visual studio 2015. However, if I change the VTK_RENDERING_BACKEND value from OpenGL2 to OpenGL, everything is fine.
Is there anyway to fix those problems? I want to use OpenGL2 and turn on Module_vtkSupportMFC in VTK 8.1.1