OpenCV 2.4.13 Does not build with CUDA 4.2
The most recent OpenCV build on github says that the minimum CUDA version is 4.2 (opencv/cmake/OpenCVMinDepVersions.cmake
), but modules/cudaarithm/src/cuda/lut.cu
utilizes the cudaTextureObject feature which was introduced in CUDA 5.0.