Error C1083 Cannot open include file: 'vtkGUISupportQtOpenGLModule.h': No such file or directory
问题 I'm trying to link VTK library to my project on Windows 7. The error I get is: Error C1083 Cannot open include file: 'vtkGUISupportQtOpenGLModule.h': No such file or directory The thing in my code that provokes the error is #include<QVTKWidget2.h> . Src and build directories of my VTK copy are separate. The linking tool I use is cmake . The build tool: VS 2015 . My CMakeLists.txt and VTK's cache u can see below. Thanks in advance for any suggestions. CMakeLists.txt cmake_minimum_required