Hello,
I am reciving a error in Visual C++ 2008 Express. The error is detailed below. I am trying to follow the quick start guide (http://developer.download.nvidia.com/compute/cuda/2_1/toolkit/docs/CUDA_Getting_Started_2.1_Windows.pdf). I try to compile the example project bandwidthTest.
I am sure I have installed everything properly: Visual C++ 2008 Express, then 181.20_geforce_winvista_64bit_english_whql.exe , then CudaSetup-2.1-win64.exe and finally NVIDA_SDK10_CUDA_x64_2.10.1215.2015.exe .
PC Specs:
Windows Vista Premium 64bit (fully patched).
280GTX
Intel Core 2 Quad Xeon X3350
Corsair 6GB DDR2 XMS2 Dominator PC2-8500C5 TwinX
ASUS Rampage Formula
I am reciving this error in Visual C++ Express (copy paseted from build log):
[codebox]Build Log Build started: Project: bandwidthTest, Configuration: Debug|Win32
Command Lines
Creating temporary file “c:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\bandwidthTest\Debug\BAT0000014444244.bat” with contents
[
@echo off
echo “C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -deviceemu -D_DEVICEEMU -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " –Iâ€C:\CUDA\include†–I /…/common/inc†-maxrregcount=32 --compile -o Debug\bandwidthTest.cu.obj bandwidthTest.cu
“C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -deviceemu -D_DEVICEEMU -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " –Iâ€C:\CUDA\include†–I /…/common/inc†-maxrregcount=32 --compile -o Debug\bandwidthTest.cu.obj bandwidthTest.cu
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
exit 1
:VCEnd
]
Creating command line “”“c:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\bandwidthTest\Debug\BAT0000014444244.bat”“”
Creating temporary file “c:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\bandwidthTest\Debug\RSP0000024444244.rsp” with contents
[
/OUT:“…/…/bin/win32/Debug/bandwidthTest.exe” /INCREMENTAL:NO /LIBPATH:“C:\CUDA\lib” /LIBPATH:“…/…/common/lib” /MANIFEST /MANIFESTFILE:“Debug\bandwidthTest.exe.intermediate.manifest” /MANIFESTUAC:“level=‘asInvoker’ uiAccess=‘false’” /DEBUG /PDB:“Debug/bandwidthTest.pdb” /SUBSYSTEM:CONSOLE /OPT:NOICF /DYNAMICBASE:NO /MACHINE:X86 cuda.lib cudart.lib cutil32D.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
“.\Debug\bandwidthTest.cu.obj”
]
Creating command line “link.exe @“c:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\bandwidthTest\Debug\RSP0000024444244.rsp” /NOLOGO /ERRORREPORT:PROMPT”
Output Window
Compiling with CUDA Build Rule…
“C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -deviceemu -D_DEVICEEMU -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd " -I"C:\CUDA\include” -I"…/…/common/inc" -maxrregcount=32 --compile -o Debug\bandwidthTest.cu.obj bandwidthTest.cu
nvcc fatal : Visual Studio configuration file ‘(null)’ could not be found for installation at ‘C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/…/…’
Linking…
LINK : fatal error LNK1181: cannot open input file ‘.\Debug\bandwidthTest.cu.obj’
Results
Build log was saved at “file://c:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\bandwidthTest\Debug\BuildLog.htm”
bandwidthTest - 1 error(s), 0 warning(s)[/codebox]
If any additional information is needed then just ask.
Thanks for your help!
Regards
Charles