[HELP] CUDA 3.2 on Windows 7 x64 with VC++ 2008 Express

Can anyone help me for compiling projects on VC++ 2008 Express for CUDA 3.2 (Win7 x64) ?

It keeps return this error:

1>------ Build started: Project: temp004, Configuration: Debug Win32 ------
1>Compiling with CUDA Build Rule…
1>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin\nvcc.exe” -gencode=arch=compute_10,code="sm_10,compute_10" -gencode=arch=compute_20,code="sm_20,compute_20" --machine 32 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /O2 /Zi /MT " -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\include” -maxrregcount=32 --compile -o “Debug/temp004.cu.obj” temp004.cu
1>temp004.cu
1>Internal error: assertion failed at: “D:/Bld/rel/gpgpu/toolkit/r3.2/compiler/edg/EDG_4.1/src/host_envir.c”, line 4452
1>1 catastrophic error detected in the compilation of “C:/Users/DEVELO~1/AppData/Local/Temp/tmpxft_00000808_00000000-8_temp004.compute_10.cpp1.ii”.
1>Compilation aborted.
1>This application has requested the Runtime to terminate it in an unusual way.
1>Please contact the application’s support team for more information.
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
1>Build log was saved at “file://c:\Users\Developer\Documents\Visual Studio 2008\Projects\temp004\temp004\Debug\BuildLog.htm”
1>temp004 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Can anyone help me for compiling projects on VC++ 2008 Express for CUDA 3.2 (Win7 x64) ?

It keeps return this error:

1>------ Build started: Project: temp004, Configuration: Debug Win32 ------
1>Compiling with CUDA Build Rule…
1>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin\nvcc.exe” -gencode=arch=compute_10,code="sm_10,compute_10" -gencode=arch=compute_20,code="sm_20,compute_20" --machine 32 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /O2 /Zi /MT " -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\include” -maxrregcount=32 --compile -o “Debug/temp004.cu.obj” temp004.cu
1>temp004.cu
1>Internal error: assertion failed at: “D:/Bld/rel/gpgpu/toolkit/r3.2/compiler/edg/EDG_4.1/src/host_envir.c”, line 4452
1>1 catastrophic error detected in the compilation of “C:/Users/DEVELO~1/AppData/Local/Temp/tmpxft_00000808_00000000-8_temp004.compute_10.cpp1.ii”.
1>Compilation aborted.
1>This application has requested the Runtime to terminate it in an unusual way.
1>Please contact the application’s support team for more information.
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
1>Build log was saved at “file://c:\Users\Developer\Documents\Visual Studio 2008\Projects\temp004\temp004\Debug\BuildLog.htm”
1>temp004 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Hi,

did you check your driver version?

Hi,

did you check your driver version?

Driver version: 260.61

CUDA Driver version: 3.2.1

Is it okay?

Driver version: 260.61

CUDA Driver version: 3.2.1

Is it okay?

hello, i have the same problem? Can anyone please help?

i’m using win 7 64-bit and vs2008

i have installed Developer Drivers for WinVista and Win7 (263.06), CUDA Toolkit 3.2.16 (64-bit)…

thanks!!

hello, i have the same problem? Can anyone please help?

i’m using win 7 64-bit and vs2008

i have installed Developer Drivers for WinVista and Win7 (263.06), CUDA Toolkit 3.2.16 (64-bit)…

thanks!!

Hi!
i am totally new to using CUDA on windows. I have similar situation. I am using VS 2008 Express, Cuda Toolkit 3.2 and Windows 7(64 bit).
When i try to run the sample program “bandwidthTest.sln” or “bandwidthTest_vc90.sln”, it open VS and says that it cannot be opened because .vproj is not supported on that version of VS.
please help…
thank you.

I have also got this problem. I have installed:

devdriver_3.2_winvista-win7_64_260.99_notebook.exe

gpucomputingsdk_3.2.16_win_64.exe

cula_2.1-win64.exe

I followed the steps to install exactly as in http://developer.download.nvidia.com/compute/cuda/3_2_prod/sdk/docs/CUDA_SDK_Release_Notes.txt and then tried to compile the release_vc90.sln located in “NVIDIA GPU Computing SDK\C\src” (Step 4). When I compile I get 77 failed!

Compiling with CUDA Build Rule...

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin\nvcc.exe"    -gencode=arch=compute_10,code=\"sm_10,compute_10\" -gencode=arch=compute_20,code=\"sm_20,compute_20\"  --machine 32 -ccbin "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin"    -Xcompiler "/EHsc /W3 /nologo /Od /Zi   /MTd  " -I"./" -I"../../common/inc" -I"../../../shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\include" -maxrregcount=32  --compile -o "Debug/alignedTypes.cu.obj" alignedTypes.cu 

nvcc fatal   : Could not open input file C:\Temp/tmpxft_0000078c_00000000-1

Linking...

LINK : fatal error LNK1181: cannot open input file '.\Debug\alignedTypes.cu.obj'

I didn’t include all the failures because there are just too many (77).

The first apparent problem occurs because of -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\include"

This double backslash before “include” is because someone at CUDA made a mistake in creating the path CUDA_PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\

This is a problem because the other paths, such as CUDA_BIN_PATH = %CUDA_PATH%\bin

Now there are two back slashes, one from CUDA_PATH and one for CUDA_BIN_PATH => C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin

Double backslashes are not supposed to be there, I suppose, so I changed CUDA_PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2

However, this doesn’t solve the problem with nvcc.exe fatal error with a temp file that never existed. HELP?~?!?

Hihi, i still face the same problem. And i am using Win7 Pro X64, CUDA 3.2.16 64bit, and also the 263.06 developer driver, and GTX 460 X2

I cannot compile the sample source code too, and display the same result as above .

Does any one can provide us some opinion?

wishes,

Andy

Hi im new to cuda, i’m using windows 7 64-bit and i have the GT240 version 197.13. i am having troubles using the nvcc such as nvcc fatal and cl.exe cant be found in PATH and so on, so bottom line can you please list for me from A to Z all the necessary applications and drivers and all that i need in order to start compiling .cu files and CUDA… i have the visual studio 2008 express and i already installed cuda toolkit_3.0 and gpu computing sdk 3.0…
thank you!