Ask Your Question

Ivano's profile - activity

2013-11-15 07:13:06 -0500 commented question compiling opencv @2.4.6.1_2+python27 with CUDA support throws an error after upgrading to OS X 10.9

Upgrading opencv to 2.4.7_1 made matters worse actually. I can't even get to start compiling the cuda code now. What the hell.

2013-10-27 05:02:49 -0500 received badge  Editor (source)
2013-10-27 04:59:43 -0500 asked a question compiling opencv @2.4.6.1_2+python27 with CUDA support throws an error after upgrading to OS X 10.9

Hi, I've just downloaded the new NVIDIA CUDA library from https://developer.nvidia.com/cuda-downloads for OS X Mavericks and edited the MacPorts OpenCV Portfile with CUDA support on. All seems to be fine until the compiler bumps into an error at 92% of compilation. I reckon it may be down to some changes to the new CUDA library changes for MacOS 10.9. Any idea about how to fix it would be greatly appreciated. Many thanks.

:info:build [ 92%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/warp.cpp.o
:info:build cd /opt/local/var/macports/build
/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv
/opencv/work/opencv-2.4.6.1/modules/gpu && /usr/bin/clang++   -DCVAPI_EXPORTS -DHAVE_ALLOCA 
-DHAVE_ALLOCA_H -DHAVE_CVCONFIG_H -DHAVE_LIBPTHREAD -DHAVE_UNISTD_H -Dopencv_gpu_EXPORTS 
-pipe -Os -arch x86_64    -fsigned-char -W -Werror=return-type -Werror=address -Wformat -Werror=format-security  -Wmissing-prototypes -Wstrict-prototypes  -Winit-self -Wpointer-arith  -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -Wno-undef -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter  -DNDEBUG  -DNDEBUG -arch x86_64 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu/src/nvidia/NPP_staging -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu/src/nvidia/core -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu/src/nvidia -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu/src/cuda -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/legacy/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/ml/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/photo/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/video/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/objdetect/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/calib3d/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/features2d/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/highgui/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/flann/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/imgproc/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/core/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6.1/modules/gpu/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.6 ...
(more)