Error: cannot open input file 'cutil32D.lib'

Hi there!

I’m trying to compile a very simple CUDA sample code (adding two arrays) on a Windows XP (Win32) machine with CUDA 2.3, but there seems to be something wrong.

These are the messages when trying to compile… any hints? :)

1>------ Build started: Project: Project2, Configuration: Debug Win32 ------
1>Compiling with CUDA Build Rule…
1>“C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “C:\Arquivos de programas\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /RTC1 /MTd " -I"C:\CUDA\include” -I"\C\common\inc" -I"C:\Documents and Settings\All Users\Dados de aplicativos\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc" -maxrregcount=32 --compile -o “Debug\sample.cu.obj” “c:\CUDA\testes\Project2\Project2\sample.cu”
1>sample.cu
1>tmpxft_0000035c_00000000-3_sample.cudafe1.gpu
1>tmpxft_0000035c_00000000-8_sample.cudafe2.gpu
1>tmpxft_0000035c_00000000-3_sample.cudafe1.cpp
1>tmpxft_0000035c_00000000-12_sample.ii
1>Linking…
1>LINK : fatal error LNK1181: cannot open input file ‘cutil32D.lib’
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(NVSDKCOMPUTE_ROOT)
1>Build log was saved at “file://c:\CUDA\testes\Project2\Project2\Debug\BuildLog.htm”
1>Project2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

look here
http://forums.nvidia.com/index.php?showtop…80&start=80