Opencv 2.4.10 with cuda 6.5 some libraries are not found

asked 2014-12-04 07:30:46 -0600

armo22 gravatar image

When i tried this command

g++ -ggdb pkg-config --cflags opencv esempio.c pkg-config --libs opencv

to compile my " esempio.c" i get as result this:

/usr/bin/ld: cannot find -lcufft /usr/bin/ld: cannot find -lnpps /usr/bin/ld: cannot find -lnppi /usr/bin/ld: cannot find -lnppc

but the libraries exist because when i go in /usr/local/cuda-6.5/lib i get:

libcublas_device.a libcudadevrt.a libcurand_static.a stubs libculibos.a libnpps_static.a libcufftw_static.a libnppi_static.a libcufft_static.a libnppc_static.a libcublas_static.a libcudart_static.a libcusparse_static.a

what can i do to solve it?

edit retag flag offensive close merge delete