user11872342
user11872342

Reputation: 3

Error C1083 cannot open include file: 'vtkGUISupportQtModule.h' not such file or directory

I using Windows 10,1. qt 4.8, vtk 8.2.0, cmake 3.15, tinyxml 2.6.1.. I am trying to compile c++ code but encounter this problem.

I search for this header file in the vtk source code but no such file exists. I tried searching 'vtkGUISupportQtModule.h' in vtk 6.3, 7.9, 7.1 but none of them has this header file.

Upvotes: 0

Views: 1005

Answers (1)

tomj
tomj

Reputation: 1109

These files are generated by CMake scripts when you are configuring VTK. You have to enable the option "Module_vtkGUISupportQt" in the cmake config of VTK to generate it (it is within the "advanced" options - in the CMakeGUI click the "advanced" checkbox to see it).

However, I'm not sure QT 4.8 will work, at least from the CMake it looks like that VTK 8.2 now supports only QT 5, it does not let me select other options.

Upvotes: 1

Related Questions