I just want to compile my CUDA Code through the Command Line. I don't need the plugin ability for Visual Studio, which is not supported for VS2012 Express. I Installed the Windows 7 SDK but the Compiler still won't work. I always get the error message that "vcvars64.bat" wasn't found, which seems to be a problem with the c++ Compiler Version of Visual Studio. Is there a way getting around that Problem? I was trying to compile by using the folowing lines:
nvcc beispielklasse.cu -run -ccbin "C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin" -arch=compute_30
or after installing the SDK:
nvcc beispielklasse.cu -run -ccbin "C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin" -arch=compute_30 --cl-version 2010