[Paraview] make: unable to find avformat.h

Berk Geveci berk.geveci at kitware.com
Wed Jul 16 13:52:18 EDT 2008


It's looking for it in the ffmpeg directory as opposed to libavformat
(which is where yours is). You either have to change vtkFFMPEGWriter
to include it from the right place or install your own ffmpeg version.

-berk

On Tue, Jul 15, 2008 at 9:09 PM, Ken Teague <kteague at pobox.com> wrote:
> ParaView v3.2.2
> Qt v4.3.5
> gcc v4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> ccmake v2.4-patch 5
> Debian Etch
> amd64
>
> In ccmake:
>  FFMPEG_INCLUDE_DIR               /usr/local/include
>  FFMPEG_avcodec_LIBRARY           /usr/local/lib/libavcodec.a
>  FFMPEG_avformat_LIBRARY          /usr/local/lib/libavformat.a
>  FFMPEG_avutil_LIBRARY            /usr/local/lib/libavutil.a
>
> configure and generate in ccmake works fine.  When I build it with make, I get:
>  /usr/src/ParaView3.2.2/VTK/IO/vtkFFMPEGWriter.cxx:23:29: error: ffmpeg/avformat.h: No such file or directory
>
> But it's there!!
>  debian-etch-amd64:/usr/src/projects/ParaView# find /usr/local -name avformat.h
>  /usr/local/include/libavformat/avformat.h
>
> Why is it not finding it?
>
> - Ken
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list