-
Notifications
You must be signed in to change notification settings - Fork 73
Visual Studio 2012 Express Setup
jcanny edited this page May 26, 2014
·
3 revisions
The CUDA Toolkit installer seems to look in C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64
for a file named "vcvars64.bat", and concludes that VS 2012 is not installed if its not there. It then wont install any of the CUDA SDK support for compilation, or the C-runtime.
Visual Studio Express 2012 doesnt create this directory or the file, but they can be added. We had success by copying the contents of directory:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64 to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64and then creating the file "vcvars64.bat" in the latter directory. The contents of "vcvars64.bat" can be:
CALL setenv /x64Do this after installing Visual Studio 2012 Express, and before installing the CUDA Toolkit and you should get both the CUDA runtime and a working compiler for CUDA development on Windows 64bit.