Dear all,<br><br>I&#39;m trying to compile vtk 5.8.0 with FFMPEG 0.8.5, but get the following error. Any thoughts about how to fix this?<br><br> 55%] Built target vtkGenericFilteringPython<br>[ 55%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o<br>
In file included from /usr/local/ffmpeg_inst/include/libavformat/avformat.h:42:0,                                           <br>                 from /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:27:<br>/usr/local/ffmpeg_inst/include/libavcodec/avcodec.h:525:27: warning: attribute ignored in declaration of ‘enum AVLPCType’<br>
/usr/local/ffmpeg_inst/include/libavcodec/avcodec.h:525:27: warning: attribute for ‘enum AVLPCType’ must follow the ‘enum’ keyword<br>/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Start()’:<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:126:56: error: ‘guess_format’ was not declared in this scope<br>/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:153:19: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:196:7: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1407)<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:196:52: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1407)<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:262:7: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avio.h:279)<br>/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:262:88: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avio.h:279)<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:269:3: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1465)<br>/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:269:40: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1465)<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Write(vtkImageData*)’:<br>/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:346:20: error: ‘PKT_FLAG_KEY’ was not declared in this scope<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx: In member function ‘void vtkFFMPEGWriterInternal::End()’:<br>/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:394:7: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avio.h:280)<br>
/home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:394:43: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/local/ffmpeg_inst/include/libavformat/avio.h:280)<br>make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1<br>
make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2<br>make: *** [all] Error 2<br><br><br>Best,<br>Martijn<br>