I am new to CUDA programming and just start to learn it.
When I learn fft, I have a problem that:
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
After I search the forum, I add the cufft.lib to the linker.
However, then I find:
error LNK1104: cannot open file ‘cufft.lib’
so add the
C:\Program files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\lib\x64
to the library directory where cufft.lib is located.
Then again when I try to compile it shows exactly the same:
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
Could anyone help me solving this problem?