#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 (Ryan Carsten Schmidt))
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 (1)
Change History (5)
Changed 13 years ago by ezlokazov@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ezlokazov@… removed |
---|---|
Description: | modified (diff) |
Keywords: | opencv removed |
Port: | opencv added; shell command failed removed |
Summary: | Building opencv / shell command failed → opencv: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope |
comment:3 Changed 13 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
comment:4 Changed 13 years ago by ezlokazov@…
Reinstallation of CUDA from 4.1 to 4.0 helped Thank you!
Note: See
TracTickets for help on using
tickets.
log file main.log