I am trying to work some image-process tasks with opencv on GPU with CUDA. I am using ubuntu. I setup my two products Opencv and Cuda without a problem, I am sure about that
I guess your system path is still set to previous dlls which are not compiled with gpu. You should first change your system path after the rebuilt of opencv.