Ticket #34016 (closed defect: invalid)
opencv: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope
| Reported by: | ezlokazov@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | Cc: | ||
| Port: | opencv |
Description (last modified by ryandesign@…) (diff)
Trying to install opencv
$ sudo port install opencv
Building opencv fails with the message:
Error: Target org.macports.build returned: shell command failed (see log for details)
cleaning opencv and reinstall do not help. Log attached
Attachments
Change History
comment:2 Changed 14 months ago by ryandesign@…
- Keywords opencv removed
- Cc ezlokazov@… removed
- Description modified (diff)
- Port changed from shell command failed to opencv
- Summary changed from Building opencv / shell command failed to opencv: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope
comment:3 Changed 14 months ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to invalid
According the log, you have software in /usr/local that is interfering with the build.
:info:configure ImportError: No module named sphinx :info:configure -- Found CUDA: /usr/local/cuda (found suitable version "4.1", required is "4.0") :info:configure -- CUDA detected: 4.1 :info:configure -- CUDA NVCC target flags:
Please either delete /usr/local/, or move it aside. Then clean the port and try again.
Note that it builds fine for me on Mac OS X 10.7.3 and Xcode 4.3.2.
Note: See
TracTickets for help on using
tickets.


log file main.log