Ticket #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@…) (diff)
$ 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
Change History
comment:1 Changed 15 months ago by vvaytodawn@…
I got this error message when trying to install opencv on my Mac. Someone help me TT
comment:2 Changed 15 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to invalid
- Description modified (diff)
- Summary changed from opencv: error: to 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.
Note: See
TracTickets for help on using
tickets.

