nvcc cannot support visual studio 2008?

I use visual studio 2008 now.

but error message…

“nvcc cannot find a supported cl version. Only MSVC 7.1 and MSVC 8.0 are supported.”

When do you support visual studio 2008??

or how can I use cuda in visual studio 2008??

Visual Studio 2008 is not supported, and will not be supported in the upcoming release. Currently, we hope to support Visual Studio 2008 in a release towards the end of 2008.

I have the same problem…

Is it possible to install VS2005 after VS2008, or do I need to uninstall VS2008 first?

Alternatively, are there just some subset of files from VS2005 that nvcc needs?



This is also my question. What files do I have to copy to get the cl.exe run?

There are so many dependencies I cannot control. And it is not possible for me to install VS2005.

MartyMcFly, is it also not possible to use VS2005 express? VS2005 express without IDE or Windows SDK works fine for me. It is also no problem to install it after VS2008.

I need VS2008 (SP1) support also… so those are good news.

I am trying to use command line to compile mu cuda code into obf file, but I ran into the same problem.
First when I use nvcc -o cuda.cu, then it came back with error said that “can’t find cl.exe”.
I copy the cl.exe from my visual studio paste to nvcc dir. Then I do nvcc -o cuda.cu again. It gave me “nvcc cannot find a supported cl version. Only MSVC 7.1 and MSVC 8.0 are supported”, but I am using visual studio.
Is anybody tried to compile cuda in command line before?
Thank you very much


As usual when compiling on the command line in windows with VS, a lot of enviroment variables need to be set first. You can do this by launching the “Visual studio command prompt” in the start menu next to visual studio. Running nvcc from within this prompt will work, assuming you are running VS 2005 SP1.