Linking Error; VS 2008

Hi I am getting the following Linking error while compiling ConvolutionFFT2D from CUDA src

1>------ Rebuild All started: Project: FinalTest, Configuration: Release Win32 ------

1>Deleting intermediate and output files for project 'FinalTest', configuration 'Release|Win32'

1>Compiling with CUDA Build Rule...

1>"C:\CUDA\bin\nvcc.exe"	-ccbin "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin"	 -I"C:\CUDA\include" -I"./" -I"../../common/inc" -I"../../../shared/inc"  -Xcompiler "/EHsc /W3 /nologo /O2 /Zi   /MT  " -maxrregcount=32  -gencode=arch=compute_10,code=\"sm_10,compute_10\" -gencode=arch=compute_20,code=\"sm_20,compute_20\"  --compile -o "Release\convolutionFFT2D.cu.obj" "c:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\convolutionFFT2D\convolutionFFT2D.cu" 

1>convolutionFFT2D.cu

1>tmpxft_00000a5c_00000000-6_convolutionFFT2D.compute_10.cudafe1.gpu

1>tmpxft_00000a5c_00000000-10_convolutionFFT2D.compute_10.cudafe2.gpu

1>convolutionFFT2D.cu

1>tmpxft_00000a5c_00000000-3_convolutionFFT2D.compute_20.cudafe1.gpu

1>tmpxft_00000a5c_00000000-14_convolutionFFT2D.compute_20.cudafe2.gpu

1>convolutionFFT2D.cu

1>tmpxft_00000a5c_00000000-6_convolutionFFT2D.compute_10.cudafe1.cpp

1>tmpxft_00000a5c_00000000-20_convolutionFFT2D.compute_10.ii

1>Compiling...

1>convolutionFFT2D_gold.cpp

1>main.cpp

1>Linking...

1>main.obj : error LNK2001: unresolved external symbol _cufftExecR2C@12

1>main.obj : error LNK2001: unresolved external symbol _cufftExecC2R@12

1>main.obj : error LNK2001: unresolved external symbol _cufftPlan2d@16

1>main.obj : error LNK2001: unresolved external symbol _cufftDestroy@4

1>C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\FinalTest\Release\FinalTest.exe : fatal error LNK1120: 4 unresolved externals

1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\FinalTest\FinalTest\Release\BuildLog.htm"

1>FinalTest - 5 error(s), 0 warning(s)

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

c/c++ -> code generation -> runtime library is set to MT in release and MTd in Debug mode.

Any inputs ?

Seems that the linker does not find cudpp32.lib (the fft-stuff is found in that one). There are one or more reasons for that:

    The dependency is not added to the linker (check Linker->Input, Additional Dependencies for cudpp32.lib, cudpp64.lib if you use a 64 bit compiler).

    The library folder is not found (Linker->General, Additional Library Directories should contain something like (NVSDKCUDA_ROOT)/common/lib or (NVSDKCOMPUTE_ROOT)/C/common/lib)

    The macro/environment variable pointing to the library folder is fupar. Win-button+Pause, Advanced System Settings, Environment Variables. Look for NVSDKCUDA_ROOT and NVSDKCOMPUTE_ROOT and see if they point to the right directories. If not, remember to restart VS after updating the variables!

    The SDK libs are not compiled. Goto [SDK folder]\C\common, open Release.sln and compile for the desired settings (Debug, EmuDebug, Release etc…)

Seems that the linker does not find cudpp32.lib (the fft-stuff is found in that one). There are one or more reasons for that:

    The dependency is not added to the linker (check Linker->Input, Additional Dependencies for cudpp32.lib, cudpp64.lib if you use a 64 bit compiler).

    The library folder is not found (Linker->General, Additional Library Directories should contain something like (NVSDKCUDA_ROOT)/common/lib or (NVSDKCOMPUTE_ROOT)/C/common/lib)

    The macro/environment variable pointing to the library folder is fupar. Win-button+Pause, Advanced System Settings, Environment Variables. Look for NVSDKCUDA_ROOT and NVSDKCOMPUTE_ROOT and see if they point to the right directories. If not, remember to restart VS after updating the variables!

    The SDK libs are not compiled. Goto [SDK folder]\C\common, open Release.sln and compile for the desired settings (Debug, EmuDebug, Release etc…)