Opened 7 years ago
Last modified 4 years ago
#55523 closed defect
ffmpeg-devel @20171210 forbids re-building of opencv @3.2.0_1 on Mac OS X 10.6.8, Snow Leoprad — at Initial Version
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | snowleopard | Cc: | devans@…, jeremyhu@…, stromnov@… |
Port: | opencv |
Description
opencv @3.2.0_1
was installed when ffmpeg-devel
was upgraded to version @20171210
. It changed /opt/local/lib/libavcodec.57.108.101.dylib
to /opt/local/lib/libavcodec.58.6.103.dylib
, so some packages need to be rebuilt:
The following ports will be rebuilt: opencv @3.2.0+avx2+eigen+tbb libquicktime-devel @1.2.4 transcode @1.1.7+a52dec+experimental+faac+freetype+full+imagemagick+libdv+libogg+libpostproc+libquicktime+libsdl+libtheora+libvorbis+libxml2+lzo+mjpegtools+x11+x264+xvid
The rebuild of opencv @3.2.0_1` fails with:
[ 61%] Built target opencv_shape In file included from /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg.cpp:47: /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1541:21: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER' c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^ /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1569:30: error: use of undeclared identifier 'AVFMT_RAWPICTURE' if (oc->oformat->flags & AVFMT_RAWPICTURE) { ^ /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1743:35: error: use of undeclared identifier 'AVFMT_RAWPICTURE' if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 ) ^ /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2039:32: error: use of undeclared identifier 'AVFMT_RAWPICTURE' if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) { ^ /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2338:25: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER' c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^ 5 errors generated.
Note: See
TracTickets for help on using
tickets.