Opened 8 years ago

Last modified 8 years ago

#52697 closed defect

OpenCV on Mac OS Sierra failed to build — at Version 1

Reported by: jooni41 Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: sierra Cc:
Port: opencv

Description (last modified by larryv (Lawrence Velázquez))

I tried to install nonfree module of opencv to openCV with python bindings by:

sudo port install opencv +contrib +py27

but it gives the following error

Error: org.macports.build for port opencv returned: command execution failed
The log file states:
info:build [ 44%] Built target opencv_dnn
:info:build 1 warning generated.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
:info:build make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/

Change History (1)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Component: contribports
Description: modified (diff)
Owner: changed from macports-tickets@… to stromnov
Priority: HighNormal
Status: newassigned

Please run sudo port clean opencv && sudo port install opencv +contrib +python27 and attach the log file.

Note: See TracTickets for help on using tickets.