[ 35%] fatal error: too many errors emitted, stopping now [-ferror-limit=]
Hi all, I am attempting a compile of opencv-2.4.9 unix on mac osx 10.9.2. downloaded from sourceforge, it stops when it hits the maximum of these booboos
/Users/rhuber/Documents/C-Java/opencv/opencv-2.4.9/modules/highgui/src/ffmpeg_codecs.hpp:126:7: error:
use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean
'AV_CODEC_ID_MPEG4'?
{ CODEC_ID_MPEG4, MKTAG(0x04, 0, 0, 0) }, /* some broken avi use this */
^~~~~~~~~~~~~~
AV_CODEC_ID_MPEG4
/usr/local/include/libavcodec/avcodec.h:123:5: note: 'AV_CODEC_ID_MPEG4'
declared here
AV_CODEC_ID_MPEG4,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
the same problem occurs when i go back to the earlier versions OpenCV-2.4.3 and opencv-2.4.6.1. i am thinking it is somehow related to having a version of ffmpeg installed somewhere that is either too new or too old for opencv. any suggestions on how i can fix it?