Unsucessful CUDA build in Visual Studio 2010 (Express) An attempt to find a patch for Visual Studio

I have recently entered the CUDA scene and with that came C programming (Java is my primary background). I installed Visual Studio 2010 Express in order to develop C code for CUDA and otherwise. However, when trying to build some sample code nvcc had gave me a fatal error:

[codebox]1> Compiling CUDA

1> nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 8.0 and MSVC 9.0 are supported

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: “cmd.exe” exited with code -1.[/codebox]

I currently have the CUDA Toolkit 3.0 and SDK 3.0 installed. If anyone knows of a work around for this problem I’d greatly appreciate it. (like where I can find an older compiler) I’d like to avoid installing an older version of Visual Studio if I can.

Also, I’d like to be able to compile with the device emulator option (my graphics card is on a separate system; I’d prefer to develop on my laptop) but I’m not very familiar with Visual Studio. If anyone knows how to change the compiler options that’d be very helpful too. Also, is there a way to get Intellisense working with CUDA?

Thanks in advance for any help you can provide.

I found a fairly helpful guide here: [url=“c++ - How do I start a new CUDA project in Visual Studio 2008? - Stack Overflow”]c++ - How do I start a new CUDA project in Visual Studio 2008? - Stack Overflow That walks through the setup on VS2008, you would need to get the cuda.targets file which is the new VS2010 equivalent to the cuda.rules which is described here in this post. You also might want to check out: [url=“The Official NVIDIA Forums | NVIDIA”]http://forums.nvidia.com/index.php?showtopic=161096[/url] for some information / help setting up CUDA 3.0 with VS2010.

~ Raz