I am a begineer in VTK library and I have a problem with run this project:
http://web.mit.edu/16.225/dv/VTK/Examples/ImageProcessing/Cxx/
In CMakeLists there is 'if' condition:
IF(NOT VTK_USE_RENDERING) MESSAGE(FATAL_ERROR "Example ${PROJECT_NAME} requires VTK_USE_RENDERING.") ENDIF(NOT VTK_USE_RENDERING)
but during the configuration in CMake error apears:
CMake Error at CMakeLists.txt:6 (MESSAGE): Example ImageProcessing requires VTK_USE_RENDERING.
Proble is that there is no VTK_USE_RENDERING entry in CMake. So how I can solve this problem? Should I use QT?
I would be grateful for any response!
Thank you in advance!
VTK_USE_RENDERING. Reconfigure vtk with cmake-gui enablingVTK_USE_RENDERINGthen generate then rebuild vtk.VTK_USE_RENDERINGwhen you configured vtk with cmake?