Im try to execute this example from VTK, and to do that I most install ffmpeg from this url and all is good, but when I try to build project I get this error:
/Downloads/VTK-8.2.0/CMake/vtkModuleAPI.cmake:140 (message):
Requested modules not available:
vtkIOFFMPEG
I do all step in ffmpeg zipped file which I installed it from VTK download url, and if press ccmake on VTK-build directory I can see these option is enabled
VTK_FFMPEG_INCLUDE_DIR /tmp/ffmpeg_inst/include
VTK_FFMPEG_avcodec_LIBRARY /tmp/ffmpeg_inst/lib/libavcodec.so
VTK_FFMPEG_avformat_LIBRARY /tmp/ffmpeg_inst/lib/libavformat.so
VTK_FFMPEG_avutil_LIBRARY /tmp/ffmpeg_inst/lib/libavutil.so VTK_USE_FFMPEG_ENCODER ON
and all files/directory is found and located under /tmp/ffmpeg_inst, Also I run make -j4 after VTK_USE_FFMPEG_ENCODER is set on.
Why vtkIOFFMPEG module not found now? is there any mistake in configuration or is there any specific configuration for FFMPEG example before build? thanks.
Additional Note:
- VTK version: 8.2.0
- cmake version 3.13.2