Can't install

I’m trying to get ANY call to nvcc working on Windows 8. I have installed the drivers 320 drivers.

I have successfully installed Visual Studio 2012 Ultimate, Visual Studio 2010 Shell and Windows SDK 7.1. I have downloaded Nvidia Nsight and believe I have installed it on VS2012.

I first tried using the windows SDK 7.1 command line but calling nvcc causes the following error:
nvcc : fatal error : Visual Studio configuration file ‘(null)’ could not be found for installation at ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64…’
following the instructions at or gives the following error:
nvcc : fatal error : Could not set up the environment for Microsoft Visual Studio using ‘./…/…/…/VC/bin/amd64/vcvars64.bat’

For VS 2012, I followed the following instructions to and it worked up until compilation, where I get the following build errors:
error C2065: ‘threadIdx’ : undeclared identifier
error C2228: loft of ‘.x’ must have class/struct/union
For VS 2010, Visual C++ does not appear among the list of project types. Apparently this is a known bug, but the Microsoft fix did not work. I downloaded and ran the fix, but no luck: I can’t see installing Nsight on an IDE that doesn’t recognize VC++ as a compiler.

I suspect that all these errors might be related, but I’ve been kludging around the internet and file system for a fix for more than a week and haven’t had any luck.

I do not know about VS2012, but I have installed successfully every time CUDA 5.0 on VS 2010.

One approach would be to un-install the SDK. Download the trial version of Visual Studio 2010, install the CUDA 5.0 SDK, and follow this tutorial 1-4;

Which version of MSVC do you have? I’m trying to figure out if I will need to reconfigure the compiler environment.

It has proven to be problematic with VS2012. I’ve been working from Microsoft SDK 7.1 as the MSVC version shipped with VS2012 is unsupported.

If you can just use Visual Studio 2010, rather than muck around with re-configuring a bunch of stuff.

That video series(above) walks you through the whole process. In general I have had very few problems using Visual Studio 2010 Ultimate with the CUDA SDK 5.0, and had extremely good GPU performance.

If you can start from scratch, install Visual Studio 2010 Ultimate first, then the CUDA 5.0 SDK, then follow that video series to the letter.

FWIW, I have the exact same problem as the OP using windows 7 home, and following the link Using visual studio 2012 express and cuda 5.0

also tried
which is mostly the same as the msdn site, same results.

Any solutions other than loading visual studio 2010

I finally got cuda 5 and studio 2012 express to work on windows 7 , I unloaded both then started from scratch reloading both, made all the changes listed in

Cuda source/kernels now compile and run OK . although still get the same red squiggly underline errors showing as before on threadIdx.x; and <<< , guess that the next battle, but at least it works.

Neither Microsoft Visual Studio 2012 nor Microsoft Visual Studio Express 2012 are officially supported with CUDA 5.0.

CUDA 5.5, however, does officially support both.

As of now, you can access a release candidate of CUDA 5.5 via the CUDA Registered Developer program (

The page does not work, which makes it impossible.

Access Denied
You don’t have permission to access “” on this server.
Reference #18.a4b54117.1377007880.34f0c4d

every time.

This makes it impossible to download from

Can anybody help please - this has been going on for months. I’ve tried from at least 4 months. How do I register, if the webpage won’t work?

Strange, I’m able to access that page fine. Try another internet connection or browser perhaps?

birdwes, you can download cuda 5.5 from

Regarding register CUDA RDP, list my steps for your reference.

  1. Open
  2. Click log in at the top right corner.
  3. Click tab “Create new account”
  4. Input your login name and email account.
  5. You’ll receive an email to login CUDA RDP.
  6. Log in CUDA RDP.
  7. Set password in tab “Edit”
  8. Complete Basic Registered Developer Profile
  9. Apply “CUDA/GPU Computing Registered Developer Program”. You’ll be received approval email within 24 hours. Then you can download some CUDA stuffs.
  10. Apply “Nsight Visual Studio Edition Registered Developer Program”. You’ll be received approval email within 24 hours. Then you can download the latest Nsight VS edition for GPU develop.