winodws 7, 64-bit, Graphics adapter is NVIDIA GeForce GT 610, I have correctly installed the graphics driver and CUDA 5, I use CMake correctly compiled OpenCV2.4.6 + GPU.In Rele
Use CMake to link libraries and include directories. It makes your life easier and also for anyone else who will be extending/reading your code in the future.
For example, to link OpenCV, use the follow lines of code: