#52156: opencv: build fails with "use of undeclared identifier 'CODEC_ID_MPEG4'" ---------------------------+------------------------ Reporter: gsalierno3@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | ---------------------------+------------------------ Changes (by larryv@…): * port: => opencv * owner: macports-tickets@… => stromnov@… Old description:
This is the error message when trying to install opencv:
$ sudo port install opencv +python27 +openni_sensorkinect ---> Computing dependencies for opencv ---> Building opencv Error: org.macports.build for port opencv returned: command execution failed Please see the log file for port opencv for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_nummist.com_opencv_ports_graphics_opencv/opencv/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port opencv failed
I have a log file as well.
New description: This is the error message when trying to install opencv: {{{ $ sudo port install opencv +python27 +openni_sensorkinect ---> Computing dependencies for opencv ---> Building opencv Error: org.macports.build for port opencv returned: command execution failed Please see the log file for port opencv for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_nummist.com_opencv_ports_graphics_opencv/opencv/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port opencv failed }}} I have a log file as well. -- Comment: There are several issues here, but firstly, you’re building an old version of OpenCV: {{{ :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nummist.com_opencv_ports_graphics_opencv/opencv/work/opencv-2.4.10" && /usr/bin/make -j8 -w all VERBOSE=ON }}} The `opencv` port is currently at 3.1.0. Please clean, update, and try again. {{{ $ sudo port clean opencv $ sudo port selfupdate $ sudo port install opencv +python27 +openni_sensorkinect }}} -- Ticket URL: <https://trac.macports.org/ticket/52156#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS