[Paraview] Error compiling FFMPEG with paraview

Cally kalpana0611 at gmail.com
Tue Feb 19 01:48:50 EST 2008


Hi guys



I am trying to compile paraview with ffmpeg, but I keep getting errors. This
is what I have done

a)      I downloaded the ffmpeg_source.tar.gz from the paraview-kitware
website

b)      I ran the following command



./configure --disable-vhook --disable-static --disable-network
--disable-zlib --disable-ffserver --disable-ffplay --disable-decoders
--enable-shared –prefix=/tmp/ffmpeg_inst



mkdir /tmp/ffmpeg_inst

make install



and



c)      I set these variables as told in the README file



  VTK_USE_FFMPEG_ENCODER:BOOL=ON

  FFMPEG_INCLUDE_DIR:PATH=/tmp/ffmpeg_inst/include/

  FFMPEG_avcodec_LIBRARY:FILEPATH=/tmp/ffmpeg_inst/lib/libavcodec.so

  FFMPEG_avformat_LIBRARY:FILEPATH=/tmp/ffmpeg_inst/lib/libavformat.so

  FFMPEG_avutil_LIBRARY:FILEPATH=/tmp/ffmpeg_inst/lib/libavutil.so



and I keep getting these errors



Building CXX object VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.o

/root/Para/ParaView3.2.1/VTK/IO/vtkFFMPEGWriter.cxx:23:29: error:
ffmpeg/avforma

t.h: No such file or directory

/root/Para/ParaView3.2.1/VTK/IO/vtkFFMPEGWriter.cxx:44: error: ISO C++
forbids d

eclaration of 'AVFormatContext' with no type

/root/Para/ParaView3.2.1/VTK/IO/vtkFFMPEGWriter.cxx:44: error: expected ';'
befo

re '*' token

……………..and many more



... what am I doing wrong, I even tried the svn tingy, set the path and
everything but the same error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20080219/86107f1a/attachment.html


More information about the ParaView mailing list