[vtk-developers] build errors with recent changes on FindFFMPEG.cmake
dave.partyka at kitware.com
Thu Mar 25 10:52:37 EDT 2010
can you do a make VERBOSE=1 and send me the compile line for
vtkFFMPEGWriter.cxx. I am currious if it has a -I/usr/include/ffmpeg or
-I/usr/include. Thank you very much for helping me debug this.
On Thu, Mar 25, 2010 at 10:48 AM, Arnaud GELAS <arnaud_gelas at hms.harvard.edu
> Hi Dave,
> I have just updated and tried again, same errors:
> [ 75%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o
> /home/ajg23/CVSROOT/VTK/IO/vtkFFMPEGWriter.cxx:25:30: error:
> ffmpeg/avformat.h: No such file or directory
> /home/ajg23/CVSROOT/VTK/IO/vtkFFMPEGWriter.cxx:32:30: error:
> ffmpeg/swscale.h: No such file or directory
> /home/ajg23/CVSROOT/VTK/IO/vtkFFMPEGWriter.cxx:57: error: ISO C++ forbids
> declaration of ‘AVFormatContext’ with no type
> ffmpeg headers are installed as follows:
> They seem seem to be found during the cmake configuration time, which is
> supposed to be for recent version of ffmpeg (It may be a wrong assumption
> The error sounds like it assume my system has an older version of ffmpeg...
> On 03/25/2010 10:35 AM, Dave Partyka wrote:
> Hi Arnaud,
> The intention of my change was to get it working with where apt-get
> installs the headers/libraries on Debian. :-/ Can you share where the ffmpeg
> headers and libraries are installed on your machine, particularly avcodec,h
> avformat.h avutil.h swscale.h (this one may not exist at all) and the
> equivalent libs (libavcodec, libavformat, libavutil, libswscale? Also if you
> try updating and doing a build right now does the error go away? I checked
> in a few more changes this morning.
> On Thu, Mar 25, 2010 at 10:24 AM, Arnaud GELAS <
> arnaud_gelas at hms.harvard.edu> wrote:
>> With the recent changes in FindFFMPEG.cmake, vtk is not compiling anymore
>> with FFMPEG on my machine. It was perfectly working until last night...
>> I can set up a nightly build to track/solve this error if needed.
>> My machine is a Linux Fedora Core 12 (64 bits) with ffmpeg installed using
>> The commit message on FindFFMPEG.cmake states "COMP: further fixes to get
>> FFMPEG to be found properly on Linux."
>> Is there any distribution dependency on how ffmpeg is installed?
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers