Paraview fails to compile with libavformat < 52.0.0
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Due to the change at http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/avformat.h?view=diff&r1=11070&r2=11071 with versions of libavformat < 52.0.0 (or 20071121 for those using snapshots like most Linux distros) Paraview fails to build, and doesn't have any configuration steps to check for this condition.
Specific failure log is:
[ 16%] Building CXX object VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.o /data/tparker/builder/sources/paraview_3.2.3-2/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘void vtkFFMPEGWriterInternal::End()’: /data/tparker/builder/sources/paraview_3.2.3-2/VTK/IO/vtkFFMPEGWriter.cxx:339: error: cannot convert ‘ByteIOContext’ to ‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’ make[3]: *** [VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.o] Error 1