LINK error : shrUtils32d.lib not found Linking Error

Hi,

I am new to CUDA so please help me out.
I installed the 64 bit CUDA tool kit and the GPU Computing SDK.
I use Visual Studio 2010 to compile the sample program “Bandwidth_test”
it gives the following error.

CudaBuild:
1> Compiling CUDA source file bandwidthTest.cu…
1>
1> C:\Users\mdeo.WORKLOADS4\AppData\Local\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest>“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" --use-local-env --cl-version 2010 -ccbin “c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin” -I"./" -I"…/…/common/inc" -I"…/…/…/shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -G0 --keep-dir “Debug” -maxrregcount=0 --machine 32 --compile -D_NEXUS_DEBUG -g -Xcompiler "/EHsc /nologo /Od /Zi /MTd " -o “Win32/Debug/bandwidthTest.cu.obj” “C:\Users\mdeo.WORKLOADS4\AppData\Local\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest\bandwidthTest.cu”
1> bandwidthTest.cu
1> tmpxft_00000758_00000000-3_bandwidthTest.compute_20.cudafe1.gpu
1> tmpxft_00000758_00000000-7_bandwidthTest.compute_20.cudafe2.gpu
1> bandwidthTest.cu
1> tmpxft_00000758_00000000-0_bandwidthTest.compute_10.cudafe1.gpu
1> tmpxft_00000758_00000000-11_bandwidthTest.compute_10.cudafe2.gpu
1> bandwidthTest.cu
1> bandwidthTest.cu
1> tmpxft_00000758_00000000-3_bandwidthTest.compute_20.cudafe1.cpp
1> tmpxft_00000758_00000000-20_bandwidthTest.compute_20.ii
1> Note: including windows.h
1> Note: including math.h
1> Note: including assert.h
1> Note: including windows.h
1> Note: including math.h
1> Note: including assert.h
1>LINK : fatal error LNK1104: cannot open file ‘shrUtils32D.lib’
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:11.60
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Hey,

You need to open shrUtils_vs2010.sln first (located in NVIDIA GPU Computing SDK 4.0/shared) and compile it. The Bandwith_test should then find the shrUtils library.

Hope this helps.