No rule to make target `/usr/lib/libnvcuvid.so', needed by `lib/libopencv_gpu.so.2.
when i compile opencv-2.4.9 with cuda-6.5, the error is out . why? who can tell me ?
hmm it should actually build just fine. did it yesterday on my system. Can you supply your CMAKE configuration file?
Steve, I am getting the same error. my Cmake is sudo cmake -D WITH_NVCUVID=ON -D BUILD_DOCS=ON -D WITH_XINE=ON -D WITH_CUDA=ON -D WITH_OPENGL=ON -D WITH_TBB=ON -D WITH_OPENNI=ON -D BUILD_EXAMPLES=ON -D WITH_OPENCL=ON -D CMAKE_BUILD_TYPE=RELEASE -D OPENCV_EXTRA_MODULES_PATH=../modules/opencv_contrib-master/modules/ -D ENABLE_FAST_MATH=1 -D WITH_QT=ON -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D CMAKE_INSTALL_PREFIX=/home/ubuntu/cv ..
I tried make clean and then make again but It keeps failing at that point.
I tried 3.0.0 and 3.0.0rc1 both are giving me same errors make[2]: * No rule to make target
/usr/lib/libnvcuvid.so', needed by
lib/libopencv_cudacodec.so.3.0.0'.I tested CUDA samples independent of Opencv and they work fine.
Actually I have additional details as my build is on AWS instance running Grid GPU will post a seperate question. Hoping you can take a look at it
You should run
cmake-gui
in your build folder and make sure that OpenCV find your complete CUDA installation. For now it seems that it doesn't.