When compiling using cuda-enabled OpenCV, I get the following:
/usr/bin/ld: cannot find -lcufft
/usr/bin/ld: cannot find -lnpps
/usr/bin/ld: cannot find -lnppi
/usr/bin/ld: cannot find -lnppc
I solved this on my own machine by adding this at line 18 to CMakeLists.txt:
link_directories(/usr/local/cuda-7.0/lib64)
Ideally, the CMakeLists.txt file should deal with this automatically by detecting if CUDA is enabled and linking against it if it is.
When compiling using cuda-enabled OpenCV, I get the following:
I solved this on my own machine by adding this at line 18 to CMakeLists.txt:
Ideally, the
CMakeLists.txtfile should deal with this automatically by detecting if CUDA is enabled and linking against it if it is.