[Bug 208895] graphics/opencv: Fix build with ffmpeg 3.0.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 18 16:55:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208895

--- Comment #1 from Ben Woods <woodsb02 at gmail.com> ---
graphics/opencv only fails to build with ffmpeg 3.0.x if the port has the
FFMPEG option set (not default).

When building without the attached patch, with the FFMPEG option set and ffmpeg
3.0.x, the build fails with many errors similar to this:

In file included from
/wrkdirs/usr/ports/graphics/opencv/work/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:60:
/wrkdirs/usr/ports/graphics/opencv/work/opencv-2.4.9/modules/highgui/src/ffmpeg_codecs.hpp:104:7:
error: use of undeclared identifier 'CODEC_ID_H264'; did you mean
'AV_CODEC_ID_H264'?
    { CODEC_ID_H264, MKTAG('H', '2', '6', '4') },
      ^~~~~~~~~~~~~
      AV_CODEC_ID_H264


Refer to the full build log without the attached patch here:
http://package22.nyi.freebsd.org/data/103i386-default-PR207547/2016-02-27_20h30m58s/logs/errors/opencv-2.4.9_7.log

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-multimedia mailing list