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
to
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.
That’s a shame that it’s so fiddly to get working. I’ve been compiling/using 64 bit binaries on VS-professional / Win7 for a while & it worked straight off the bat, so I guess it’s a caveat of using the express edition. It’s a way of motivating you into getting the pro version ;)
Thanks for the post, I had to install 32 bit w7 because I couldn’t get this working! I’m going to teach my friend CUDA soon, he’ll be thrilled to know it will work on his win 7 x64 machine.