[Paraview] Error compiling FFMPEG with paraview

David E DeMarle dave.demarle at kitware.com
Tue Feb 19 16:11:16 EST 2008


Check and see if /tmp/ffmpeg_inst has anything in it (and in
particular ffmpeg/avcodec.h).  I am guessing that you forgot to "make"
the ffmpeg library after you did the "configure ..." and before you
did "make install".

cheers,
Dave DeMarle

On 2/19/08, Cally <kalpana0611 at gmail.com> wrote:
>
>
> 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.
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list