Ask Your Question

LORDIF's profile - activity

2015-04-13 20:05:39 -0600 received badge  Nice Question (source)
2014-05-08 06:24:47 -0600 received badge  Student (source)
2014-04-26 03:14:27 -0600 asked a question Compiling OpenCV 2.4.9 with CUDA on Mavericks

While configuring ccmake I got this warning:

CMake Warning (dev) at cmake/OpenCVDetectCUDA.cmake:245 (link_directories): This command specifies the relative path

 -Wl,/Developer/NVIDIA/CUDA-6.0

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first):
cmake/OpenCVFindLibsPerf.cmake:24 (include) CMakeLists.txt:468 (include) This warning is for project developers. Use -Wno-dev to suppress it.

When i try to make the project, get this error:

ld: warning: directory not found for option '-L-Wl,/Developer/NVIDIA/CUDA-6.0' ld: can't map file, errno=22 for architecture x86_64 collect2: error: ld returned 1 exit status make[2]: * [lib/libopencv_core.2.4.9.dylib] Error 1 make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: ** [all] Error 2