missing cufft library?

i have this in my code:

[codebox] cufftPlan1d(&plan, FFT_LENGTH, CUFFT_C2C, yStep);

/* Execute inverse FFT on device */

cufftExecC2C(plan, d_fftdata, d_fftdata, CUFFT_INVERSE);

/* Destroy cufft plan */

cufftDestroy(plan);[/codebox]

i keep getting this error:

1>sample.obj : error LNK2019: unresolved external symbol _cufftDestroy@4 referenced in function _main

1>sample.obj : error LNK2019: unresolved external symbol _cufftExecC2C@16 referenced in function _main

1>sample.obj : error LNK2019: unresolved external symbol _cufftPlan1d@16 referenced in function _main

i included cufft.h in my includes that doesn’t really fix it…i checked for the header file and it doesn’t even exist…but i didn’t get an error when i included cufft.h

i have all the latest SDK, drivers and tools

am i missing something here?

thanks in advance!

you’re not linking with cufft, add the shared library to your linking

hmmm how do i do that?

EDIT: i’ve got it now…thanks!

I am also facing the same problem as described by w1ck3d64…
please say me how to add the shared library.to my linking…

I am also facing the same problem as described by w1ck3d64…
please say me how to add the shared library to my linking…

This is a link error. Please add cufft.lib in your linker input. That is VS: Project Properties->Linker->Input->Additional Dependencies

This is a link error. Please add cufft.lib in your linker input. That is VS: Project Properties->Linker->Input->Additional Dependencies