recently I updated from CUDA 5.0 to 5.5. I have a program which uses opencv, but I run into problems when I try to compile my program since I updated CUDA.
I get the following error at the end of the compilation process:
nvlink fatal : Unsupported file type ‘/path/to/opencv/lib/libopencv_calib3d.so’
The first thing I did when I saw the error was compiling and installing the newest version of opencv (188.8.131.52). The compilation of opencv went smoothly, but I still get the same error.
Does anyone know why this error occurs?
I’m using ubuntu 12.04 and gcc 4.6.
I start the compilation with the following command:
nvcc --ptxas-options=-v -arch sm_30 -lineinfo
pkg-config --cflags opencv main.cu
pkg-config --libs opencv -o a.out