Compiling With CUDA And OpenCV:
change the Makefile in the base directory to read: GPU=1 OPENCV=1
make again。