Opened 13 years ago
Closed 12 years ago
#34106 closed defect (fixed)
opencv: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope
Reported by: | edoardo16@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | raphael-st (Raphael Straub) | |
Port: | opencv |
Description
Opencv-2.3.1 build error on MacOS X 10.7.3 with Xcode 4.3.2 and CUDA driver 4.2.7:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.3.1/modules/gpu/src/element_operations.cpp: In function ‘void cv::gpu::absdiff(const cv::gpu::GpuMat&, const cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::Stream&)’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.3.1/modules/gpu/src/element_operations.cpp:298: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.3.1/modules/gpu/src/element_operations.cpp:302: error: ‘nppiAbsDiff_32s_C1R’ was not declared in this scope :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.3.1/modules/gpu/src/graphcuts.cpp: In function ‘void cv::gpu::graphcut(cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::Stream&)’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.3.1/modules/gpu/src/graphcuts.cpp:80: error: cannot convert ‘unsigned char*’ to ‘NppiGraphcutState*’ for argument ‘11’ to ‘NppStatus nppiGraphcut_32s8u(Npp32s*, Npp32s*, Npp32s*, Npp32s*, Npp32s*, int, int, NppiSize, Npp8u*, int, NppiGraphcutState*)’ :info:build make[2]: *** [modules/gpu/CMakeFiles/opencv_gpu.dir/src/graphcuts.o] Error 1
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | opencv added |
---|---|
Summary: | opencv @2.3.1 build error → opencv: error: ‘nppiAbsDiff_8u_C4R’ was not declared in this scope |
comment:3 follow-up: 5 Changed 12 years ago by raphael-st (Raphael Straub)
Version: | 2.0.4 |
---|
OpenCV has been updated to version 2.4.0 in r93038. Do you still have the same problem?
comment:5 Changed 12 years ago by paone@…
comment:6 Changed 12 years ago by raphael-st (Raphael Straub)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by updating to 2.4.0 in r93038.
Note: See
TracTickets for help on using
tickets.
Please attach the main.log.