I would like to configure with cmake-gui a VTK/ITK project on ubuntu with QT and I have this error message.
I don’t understand. How I can pass this error ?
CMake Error at /usr/local/VTK/VTK-7.1.0/CMake/vtkModuleAPI.cmake:120 (message): Requested modules not available: vtkGUISupportQtOpenGL Call Stack (most recent call first): /usr/local/VTK/VTK-7.1.0-build/VTKConfig.cmake:76 (vtk_module_config) CMakeLists.txt:24 (FIND_PACKAGE)
Advertisement
Answer
When configuring VTK with CMake, you need to enable either vtkGUISupportQtOpenGL
or VTK_Group_Qt
.
You can also change that setting now, then rebuild and sudo make install
.