Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

main.log (2.4 MB) - added by ezlokazov@… 12 years ago.
log file main.log

Change History (5)

Changed 12 years ago by ezlokazov@…

Attachment: main.log added

log file main.log

comment:1 Changed 12 years ago by ezlokazov@…

Cc: ezlokazov@… added

Cc Me!

comment:2 Changed 12 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 failedopencv: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

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 12 years ago by ezlokazov@…

Reinstallation of CUDA from 4.1 to 4.0 helped Thank you!

Note: See TracTickets for help on using tickets.