I’m trying to excecute the code below.
Compiling works but execution returns a linking error.
I got the following error message:
1>sample.obj : error LNK2019: unresolved referece to external symbol _cufftPlan1d@16 non risolto in fucntion _main
1>C:\Documents and Settings\pc\Documenti\Visual Studio 2005\Projects\FFT\Debug\FFT.exe : fatal error LNK1120: 1 external link unresolved
click right button on your project name. Then click on properties. Then configuration properties, linker, input. In additional dependencies you must write cufft.lib and OK.
Hi, i’ve the same problems but i have not solved with this procedure.
in first time i’ve got the following messages:
error LNK2019: unresolved referece to external symbol _cufftPlan1d@16 referenced in fucntion _main
error LNK2019: unresolved referece to external symbol _cufftExecC2C@16 referenced in fucntion _main
error LNK2019: unresolved referece to external symbol _cufftDestroy@4 referenced in fucntion _main
error LNK1120: 3 unresolved externals
after i set the following configuration properties:
Project-> Properties-> Configuration Properties->Linker->Input->Additional Dependencies and i’ve written “cufft.lib”.
after i’ve got the second error message:
error LNK1104: cannot open file 'cufft.lib'
so i set the following:
Project->Properties->Configuration Properties->VC++ Directories->Library Directories and i added "C:\Program files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\lib\x64
i rebuilded the source cod but now i’ve again the first error