help with linke error

Hi everyone,

I’m trying to compile a file using the following command, however I get a link error I don’t understand:

nvcc.exe "-I=C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\inc" -L=C:\CUDA\lib -lcudart "-L=C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\lib" -lcutil -ccbin "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" -O2 -o Release\PrefixSum Reduction.cu 

Reduction.cu

tmpxft_000012c4_00000000-3_Reduction.cudafe1.gpu

tmpxft_000012c4_00000000-8_Reduction.cudafe2.gpu

tmpxft_000012c4_00000000-3_Reduction.cudafe1.cpp

tmpxft_000012c4_00000000-12_Reduction.ii

LINK : fatal error LNK1181: cannot open input file 'cutil.lib'

Also, does anyone have a good makefile for developing with CUDA under windows.

Ted.