Can't compile with C++ 2008 Express nvcc can't find supported cl version ?!

nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 7.1 and MSVC 8.0 are supported

I’m trying to set up to use CUDA…

Visual C++ 2008 … gives me this error when I try to compile CUDA code. ( SDK version 1.1 installed ).

Any ideas ?

VC2008 is not supported by CUDA yet.

Use VS2005 (8.0) instead. It works fine.

You can get VC 8.0 express here:

http://msdn2.microsoft.com/en-gb/vstudio/aa700736.aspx

Note that VC 9.0 will work with CUDA 1.0 and NOT with CUDA 1.1. So, it is best to confine to VC 8.0 which will be compatible with both CUDA 1.0 and 1.1 and it is best to stick wtih 1.1

Thanks… Guess I’ll install DevStudio 2005 for this, any idea when 2008 is likely to be CUDA compatible ?

We don’t know for sure, but I guess with next major release. Don’t know when this will happen, we don’t know :)

Currently, there are no plans to support any additional VC versions in the next CUDA release.