Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 16:55:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 208895] graphics/opencv: Fix build with ffmpeg 3.0.x
Message-ID:  <bug-208895-12827-DcSSO0J4dr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208895-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208895-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208895

--- Comment #1 from Ben Woods <woodsb02@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 ff=
mpeg
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/ca=
p_ffmpeg_impl.hpp:60:
/wrkdirs/usr/ports/graphics/opencv/work/opencv-2.4.9/modules/highgui/src/ff=
mpeg_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_2=
0h30m58s/logs/errors/opencv-2.4.9_7.log

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208895-12827-DcSSO0J4dr>