[MacPorts] #52156: error: use of undeclared identifier 'CODEC_ID_MPEG4'
#52156: error: use of undeclared identifier 'CODEC_ID_MPEG4' --------------------------+-------------------------------- Reporter: gsalierno3@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: --------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/52156> MacPorts <https://www.macports.org/> Ports system for macOS
#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
#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 | ---------------------------+------------------------ Comment (by gsalierno3@…): Thank you very much for your help. I'm not sure what to do with the :debug:build statement above. However, I performed the other 3 statements (clean, selfupdate, and the install) but I still get the same error. I also attached the new log file to this message. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/52156#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#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 | ---------------------------+------------------------ Comment (by larryv@…): Your build is still using 2.4.10. {{{ :info:extract ---> Extracting opencv-2.4.10.zip }}} I don’t know what “nummist.com” is, but it suggests you’re using a third- party port source. Why can’t you use our official ports tree? We cannot provide support for third-party ports trees that provide outdated portfiles. {{{ :debug:main Changing to port directory: /opt/local/var/macports/sources/nummist.com/opencv/ports/graphics/openni- sensorkinect }}} -- Ticket URL: <https://trac.macports.org/ticket/52156#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts