New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34016 (closed defect: invalid)

Opened 14 months ago

Last modified 14 months ago

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

main.log (2.4 MB) - added by ezlokazov@… 14 months ago.
log file main.log

Change History

Changed 14 months ago by ezlokazov@…

log file main.log

comment:1 Changed 14 months ago by ezlokazov@…

  • Cc ezlokazov@… added

Cc Me!

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.

comment:4 Changed 14 months ago by ezlokazov@…

Reinstallation of CUDA from 4.1 to 4.0 helped Thank you!

Note: See TracTickets for help on using tickets.