📎 AI Summary:
The thread discusses a problem encountered while building a CUDA sample in Visual Studio 2008 on Windows 7, where the user receives an "Access is denied" error related to missing the folder "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin," which they believe is absent on their 64-bit system. The original poster suspects this may be causing the build failure. A second user responds with a suggestion to explore a guide titled "Easiest Way to Run CUDA on Visual Studio 2008," implying it might offer helpful solutions. Overall, the thread indicates a technical issue with CUDA setup and a potential resource for troubleshooting, with the sentiment being seeking guidance.

deeppow

New Member
Joined
Apr 16, 2011
Messages
54
Thread Author #1
Building a sample problem from CUDA but I believe the problem originates in VS2008.

Output:
Compiling with CUDA Build Rule...
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\\bin\nvcc.exe"
-gencode=arch=compute_10,code=\"sm_10,compute_10\"
-gencode=arch=compute_20,code=\"sm_20,compute_20\"
--machine 64 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin"
-Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd "
-I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\/include"
-I"./" -I"../../common/inc" -I"../../../shared/inc"
-I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\\include"
-maxrregcount=0
--compile -o "x64\Debug/bandwidthTest.cu.obj" bandwidthTest.cu
Access is denied.

I believe the problem occurs because there is no folder "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin". I'm running 64-bit Windows 7 and everything that has been installed is 64-bit related.

Suggestions or corrections? Help greatly appreciated!