After setting up Visual Studio Express to do 64 bit compiles by installing the Windows SDK and following the instructions here:
I was still receiving the error:
nvcc fatal : Visual Studio configuration file ‘(null)’ could not be found for installation at ‘C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/…/…’
To resolve this error, I had to copy the file:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat
Note the name change from vcvars64.bat to vcvarsamd64.bat.
Please NVIDIA, resolve this dependency error by simply checking the first path above before bailing out with the error. This issue took me a week to figure out and I could not find this solution on the forums.