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 http://stackoverflow.com/questions/2970493/cuda-linking-error-visual-express-2008-nvcc-fatal-due-to-null-configuratio or http://stackoverflow.com/questions/2970493/cuda-linking-error-visual-express-2008-nvcc-fatal-due-to-null-configuratio 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 http://code.msdn.microsoft.com/CUDA-50-and-Visual-Studio-20e71aa1 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: http://www.microsoft.com/en-us/download/details.aspx?id=4422. 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.