<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">Hi guys</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">I am trying to compile paraview with ffmpeg, but I keep getting errors. This is what I have done</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo2; tab-stops: .5in"><font face="Times New Roman"><span style="mso-fareast-font-family: &#39;Nimbus Roman No9 L&#39;; mso-bidi-font-family: &#39;Nimbus Roman No9 L&#39;"><span style="mso-list: Ignore">a)<span style="FONT: 7pt &#39;Times New Roman&#39;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>I downloaded the ffmpeg_source.tar.gz from the paraview-kitware website</font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo2; tab-stops: .5in"><font face="Times New Roman"><span style="mso-fareast-font-family: &#39;Nimbus Roman No9 L&#39;; mso-bidi-font-family: &#39;Nimbus Roman No9 L&#39;"><span style="mso-list: Ignore">b)<span style="FONT: 7pt &#39;Times New Roman&#39;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>I ran the following command</font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">./configure --disable-vhook --disable-static --disable-network --disable-zlib --disable-ffserver --disable-ffplay --disable-decoders --enable-shared –prefix=/tmp/ffmpeg_inst</font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">mkdir /tmp/ffmpeg_inst</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">make install</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><font face="Times New Roman">and </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: .5in"><font face="Times New Roman"><span style="mso-fareast-font-family: &#39;Nimbus Roman No9 L&#39;; mso-bidi-font-family: &#39;Nimbus Roman No9 L&#39;"><span style="mso-list: Ignore">c)<span style="FONT: 7pt &#39;Times New Roman&#39;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>I set these variables as told in the README file</font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>VTK_USE_FFMPEG_ENCODER:BOOL=ON</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>FFMPEG_INCLUDE_DIR:PATH=/tmp/ffmpeg_inst/include/</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>FFMPEG_avcodec_LIBRARY:FILEPATH=/tmp/ffmpeg_inst/lib/libavcodec.so</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>FFMPEG_avformat_LIBRARY:FILEPATH=/tmp/ffmpeg_inst/lib/libavformat.so</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>FFMPEG_avutil_LIBRARY:FILEPATH=/tmp/ffmpeg_inst/lib/libavutil.so</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">and I keep getting these errors</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">Building CXX object VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.o</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">/root/Para/ParaView3.2.1/VTK/IO/vtkFFMPEGWriter.cxx:23:29: error: ffmpeg/avforma</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">t.h: No such file or directory</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">/root/Para/ParaView3.2.1/VTK/IO/vtkFFMPEGWriter.cxx:44: error: ISO C++ forbids d</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">eclaration of 'AVFormatContext' with no type</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">/root/Para/ParaView3.2.1/VTK/IO/vtkFFMPEGWriter.cxx:44: error: expected ';' befo</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">re '*' token</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">……………..and many more</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">... what am I doing wrong, I even tried the svn tingy, set the path and everything but the same error.</font></p>