配置ccmake时我收到了这个警告:
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.
Run Code Online (Sandbox Code Playgroud)
当我尝试制作项目时,会收到此错误:
ld: warning: directory not found for option '-L-Wl,/Developer/NVIDIA/CUDA-6.0' …Run Code Online (Sandbox Code Playgroud)