「利用者:Juicyfruit/Cuda windows」の版間の差分
細 (1版 をインポートしました) |
|
(相違点なし)
|
2018年6月29日 (金) 06:07時点における最新版
To get cuda 6.0 working on windows without needing Visual studio 2012, 2010 or 2008:
This is only needed if you do not have or want to install a version of visual studio just o support Cuda
Download Windows 7.1 SDK (this will give you a visual studio 2010 era cl.exe)
http://www.microsoft.com/en-us/download/details.aspx?id=8279
Also get the update:
http://www.microsoft.com/en-us/download/details.aspx?id=4422
You need to create a file:
c:\program files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat
CALL setenv /x64
Registry key to get cuda 6.0 to install
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0] "InstallDir"="c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\"
add the folders for the path:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x86\Microsoft.VC100.CRT
And finaly add to nvcc.profile:
compiler-bindir = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
If installation fails
follow this instruction: http://support.microsoft.com/kb/2717426
Hint: You need to reinstall the 2010 redistributables only if you already have installed visual studio. In that case run your visual studio repair tool after you installed the windows SDK. That should install/update the correct distributables.
Visual Studio 2013 Express for Windows Desktop