<div> </div>
<div>When compiling VTK with</div>
<div> </div>
<div>cmake -DVTK_QT_VERSION:STRING=5 \<br />      -DQT_QMAKE_EXECUTABLE:PATH=$QT_PATH/bin/qmake \<br />      -DVTK_Group_Qt:BOOL=ON \<br />      -DCMAKE_PREFIX_PATH:PATH=$QT_PATH/lib/cmake  \<br />      -DBUILD_SHARED_LIBS:BOOL=ON \<br />      -DCMAKE_INSTALL_PREFIX=/opt/lbt/vtk-8.1 \<br />      -DModule_vtkIOFFMPEG:BOOL=ON \<br />         ../</div>
<div> </div>
<div> </div>
<div>I have tried various version of FFMPEG and vtk (8.1, 8.1.1 and git latest) but consistently get this error.  I have also tried the old version of ffmpeg on the VTK web site.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>/mnt/ubuntu/home/rhedges/repos/VTK-8.1/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Start()’:<br />/mnt/ubuntu/home/rhedges/repos/VTK-8.1/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29: error: expected type-specifier before ‘CodecID’<br />   c->codec_id = static_cast<CodecID>(this->avOutputFormat->video_codec);<br />                             ^<br />/mnt/ubuntu/home/rhedges/repos/VTK-8.1/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29: error: expected ‘>’ before ‘CodecID’<br />/mnt/ubuntu/home/rhedges/repos/VTK-8.1/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29: error: expected ‘(’ before ‘CodecID’<br />/mnt/ubuntu/home/rhedges/repos/VTK-8.1/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29: error: ‘CodecID’ was not declared in this scope<br />/mnt/ubuntu/home/rhedges/repos/VTK-8.1/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:72: error: expected ‘)’ before ‘;’ token<br />   c->codec_id = static_cast<CodecID>(this->avOutputFormat->video_codec);<br />                                                                        ^<br />make[2]: *** [IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o] Error 1<br />make[1]: *** [IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all] Error 2<br />make: *** [all] Error 2<br /><br /></div>