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!
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.
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?~?!?
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!