I’m trying to build in ffmpeg, and I am getting an error
/home/martin/blender/svn/blender/intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:36:34: error: libavformat/avformat.h: No such file or directory
However I have /usr/include/ffmpeg/libavformat/avformat.h.
My CMakeCache.txt file has
//FFMPEG Directory FFMPEG:FILEPATH=/usr/include //FFMPEG Libraries FFMPEG_LIB:STRING=avformat;avcodec;avutil;avdevice;swscale //Enable FFMPeg Support (http://ffmpeg.mplayerhq.hu/) WITH_FFMPEG:BOOL=ON
I have tried various values for the filepath but they all give the same error. Does anyone know the correct setting?
> uname -a Linux edward.sunmoonstars 126.96.36.199-99.fc12.i686.PAE #1 SMP Mon Apr 5 16:15:03 EDT 2010 i686 i686 i386 GNU/Linux > ~/blender/blender/blender -v Blender 2.52 (sub 5) Build build date: 2010-04-21 build time: 09:59:05 build revision: 28315 build platform: Linux build type:
Sorry to ask lots of questions, but hopefully others will also benefit from the answers.
I have now downloaded ffmpeg from svn and built it, and modified my CMakeCache.txt to point to the downloaded files. This build gives me the same error.