fatal error with cutil.lib

I am trying to compile a cuda program and got the following error:
fatal error LNK1181: cannot open input file ‘cutil.lib’

How can I resolve it?

Thanks,

you need to provide library path for cutil.lib, for example, I install SDK 2.3 in winxp pro x64, then cutil64.lib (64-bit) locates

at directory C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA CUDA SDK\C\common\lib.

You can use absolute path instead, say set library as

C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA CUDA SDK\C\common\lib\cutil64.lib

in project setting if you use Visual studio.

remember to add

C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA CUDA SDK\C\common\lib

to enviroment variable PATH, or you will have run-time error since cutil.dll is not found.