[MacPorts] #49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'?
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? -------------------------------+-------------------------------- Reporter: rubendibattista@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: opencv -------------------------------+-------------------------------- It seems that with the new revision of the ffmpeg-devel port opencv 3 can't be installed anymore. I tried compiling opencv from sources and reverting to {{ffmpeg-devel @20150720_0}}} it works. Attached a log, {{error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'?}} -- Ticket URL: <https://trac.macports.org/ticket/49289> MacPorts <https://www.macports.org/> Ports system for OS X
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Changes (by mf2k@…): * cc: stromnov@… (removed) * owner: macports-tickets@… => stromnov@… Old description:
It seems that with the new revision of the ffmpeg-devel port opencv 3 can't be installed anymore. I tried compiling opencv from sources and reverting to {{ffmpeg-devel @20150720_0}}} it works.
Attached a log,
{{error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'?}}
New description: It seems that with the new revision of the ffmpeg-devel port opencv 3 can't be installed anymore. I tried compiling opencv from sources and reverting to {{{ffmpeg-devel @20150720_0}}} it works. Attached a log, {{{error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'?}}} -- -- Ticket URL: <https://trac.macports.org/ticket/49289#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Comment (by andrekw@…): Cc Me! -- Ticket URL: <https://trac.macports.org/ticket/49289#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Comment (by jain.yasha@…): Where do I add the main.log file? -- Ticket URL: <https://trac.macports.org/ticket/49289#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Comment (by larryv@…): Just attach it; there’s a button above for doing so. -- Ticket URL: <https://trac.macports.org/ticket/49289#comment:7> MacPorts <https://www.macports.org/> Ports system for macOS
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Comment (by jain.yasha@…): Replying to [comment:7 larryv@…]:
Just attach it; there’s a button above for doing so. Hi , So should I add it to my opencv folder and then make-j4? I am following steps as given here http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7 -on-osx/ and have error when I do 'make -j4'
-- Ticket URL: <https://trac.macports.org/ticket/49289#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Comment (by larryv@…): Wait, what? Are you trying to install OpenCV with MacPorts or not? -- Ticket URL: <https://trac.macports.org/ticket/49289#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS
#49289: opencv @3.0.0 | ffmpeg-devel @20150916_x- error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? --------------------------------+------------------------ Reporter: rubendibattista@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | --------------------------------+------------------------ Comment (by devans@…): FWIW, the current MacPorts version opencv @3.1.0_3 builds fine for me with current ffmpeg-devel @20160831_0+gpl2+x11 so if you are using MacPorts please update to the latest port versions {{{ $ sudo port selfupdate }}} If you're not using MacPorts (why not?), there's not much we can do to help. -- Ticket URL: <https://trac.macports.org/ticket/49289#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts