#40024: bob: build fails using ffmpeg-devel ----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: bob ----------------------+--------------------------- When building bob 1.2.0 with ffmpeg-devel (effectively ffmpeg 2.0) as the active dependency, the build fails with the following error: {{{ [ 23%] Building CXX object src/core/python/CMakeFiles/bob_core_py27.dir/typeinfo.cc.o /opt/local/var/macports/build/_opt_macports_trunk_dports_science_bob/bob/work/bob-1.2.0/src/io/cxx/VideoUtilities.cc:49:9: error: unknown type name 'CodecID'; did you mean 'AVCodecID'? typedef CodecID AVCodecID; ^~~~~~~ AVCodecID /opt/local/include/libavcodec/avcodec.h:100:6: note: 'AVCodecID' declared here enum AVCodecID { ^ 1 error generated. make[2]: *** [src/io/cxx/CMakeFiles/bob_io.dir/VideoUtilities.cc.o] Error 1 }}} A number of deprecated API usages that are allowed in ffmpeg 1.2.2 are removed in ffmpeg 2.0. -- Ticket URL: <https://trac.macports.org/ticket/40024> MacPorts <http://www.macports.org/> Ports system for OS X