Hi all.
I tried to create the OpenCV library with viz module using VTK 9.0.0 and 9.0.1.
But I failed and I found that viz module needs the 8.90.0.
The ‘viz/CMakeLists.txt’ contains the following messages:
if (VTK_VERSION VERSION_LESS “8.90.0”)
include({VTK_USE_FILE})
ocv_target_link_libraries({the_module} PRIVATE {VTK_LIBRARIES})
else ()
ocv_target_link_libraries({the_module} PRIVATE {VTK_LIBRARIES})
vtk_module_autoinit(TARGETS {the_module} MODULES ${VTK_LIBRARIES})
endif()
if(APPLE AND BUILD_opencv_viz)
ocv_target_link_libraries(${the_module} PRIVATE “-framework Cocoa”)
endif()
if(TARGET opencv_test_viz)
set_target_properties(opencv_test_viz PROPERTIES MACOSX_BUNDLE TRUE)
endif()
With the VTK 8.90, I think it will be successful.
(Is it right? could someone advise me about this?)
So, where can I get the VTK 8.90?
Could you please help me…?
Thank you.