I established Opencv with the following links;
I wanted to try the examples in these links.
When I try to compile the sample application, I get an error like this:
After you write the “make” command;
[ 50%] Linking CXX executable DisplayImage
/usr/bin/ld: cannot find -lopencv_dep_cudart
collect2: error: ld returned 1 exit status
CMakeFiles/DisplayImage.dir/build.make:117: recipe for target ‘DisplayImage’ failed
make: *** [DisplayImage] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/DisplayImage.dir/all’ failed
make: *** [CMakeFiles/DisplayImage.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2
How can I solve this problem?