Updated by Alexander Shishkov about 13 years ago

When installing OpenCV [[OpenCV]] rev 3804 in OS X with FFMPEG which has been installed via fink, the build fails when compiling 'cap_ffmpeg' in highgui even though libavcodec, libavformat, and libswscale are found. The default include paths are:

libavformat/avformat.h
libavcodec/avcodec.h
libswscale/swscale.h

But the headers files are all installed in /sw/include/ffmpeg if the libraries are installed via fink. These files should be included as:

ffmpeg/avformat.h
ffmpeg/avcodec.h
ffmpeg/swscale.h

Back