Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33224 closed defect (invalid)

opencv: build error because of rogue libpng, libtiff and libjasper frameworks

Reported by: vvaytodawn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: opencv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

$  sudo port install opencv +universal
--->  Computing dependencies for opencv
--->  Building opencv
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for opencv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (213.1 KB) - added by vvaytodawn@… 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by vvaytodawn@…

Attachment: main.log added

comment:1 Changed 13 years ago by vvaytodawn@…

I got this error message when trying to install opencv on my Mac. Someone help me TT

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed
Summary: opencv: error:opencv: build error because of rogue libpng, libtiff and libjasper frameworks

The log shows:

:info:build ld: warning: ignoring file /Library/Frameworks//libpng.framework/libpng, missing required architecture x86_64 in file
:info:build ld: warning: ignoring file /Library/Frameworks//libtiff.framework/libtiff, missing required architecture x86_64 in file
:info:build ld: warning: ignoring file /Library/Frameworks//libjasper.framework/libjasper, missing required architecture x86_64 in file

Please delete /Library/Frameworks/libpng.framework, /Library/Frameworks/libtiff.framework and /Library/Frameworks/libjasper.framework; they are not part of MacPorts and are interfering with MacPorts. Then "sudo port clean opencv" and try again.

comment:3 Changed 13 years ago by vvaytodawn@…

Thank you very much. It's working perfectly

Note: See TracTickets for help on using tickets.