Hi, I'm on ubuntu 13.04, have successfully compiled opencv 2.4.6.1 with the latest cuda 5.5. At least I thought it was a success. Because when I try to compile the examples in /opencv-2.4.6.1/samples/c, all I get is:
/usr/bin/ld: warning: libnppc.so.5.5, needed by /usr/local/cuda/lib64/libnppi.so.5.5, not found (try using -rpath or -rpath-link)
And all the consequences of the above:
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `nppGetMaxThreadsPerSM'
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `nppGetStream'
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `Stream'
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `nppGetGpuComputeCapability'
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `Event'
/usr/local/lib/libopencv_gpu.so: undefined reference to `nppSetStream'
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `nppGetGpuNumSMs'
/usr/local/cuda/lib64/libnppi.so.5.5: undefined reference to `nppGetPointerMemoryType'
collect2: error: ld returned 1 exit status
This being my first use of cuda and compilation with opencv, I don't know where to go from this. The only libnppc.so.5.5 I have found was for linux suse. Is there any thing I didn't set up properly when installing cuda (did with the .deb packages from nvidia site)? Cuda examples compile properly, opencv compiled and installed without any error.
Ludo