I did build openCV2.4.6 with Cmake2.8.11.2 and configured it. As I have VS2012 so I chose "Visual Studio 11" (32 bit). After a successful configuration that I chose "Automatic" for "CUDA_GENERATION" and checked the CUDA_FAST_MATH. The solution was generated successfully. But, when I tried to build the solution in VS2012, I got this error: "nvcc cannot find a supported cl version. Only MSVC 9.0 and MSVC 10.0 are supported". Is there any way around it?