NVCC cannot find a supported cl version. Only MSVC 9.0 and MSVC 10.0 are supported

asked 2013-07-19 14:50:30 -0500

Farzan gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

CUDA 5.0 officially supports only Visual Studio 2008 and 2010. VS 2012 support was added to new 5.5 release.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2013-07-20 08:25:18 -0500 )edit