win-64 cufft libray

Hi, all,
I am experiencing some problem with my cufft.lib libary.
Here is my environment: Win7, 64-bit, vc2010. Cuda tool Kit 4.0

 I made a small program using cudafftplan1D. When I linked my library: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\lib\x64,it couldn't complie (unlinked error).
 Then I changed the library to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\lib\Win32. It worked somehow, but I am experiencing other problems(I can't use cufftplan1D batch. I can't do one 1D fft at one time). I am suspecting it is due to the wrong library. 
 Anyone has suggestions?

michael

Hello,

Please post the program and the errors you get.

Thanks for your quick reply,
I just have a simple 1D array 4096(FFT length)* 100(batch length), so the total 1D array is 409600.
I did very simple thing:
by the way, my GPU is Tesla

          cufftPlan1d(&plan1, 4096, CUFFT_R2C, 100);
      cufftPlan1d(&plan2, 4096, CUFFT_C2R, 100);
                 ....
           
            cufftExecR2C(plan1, data, datafft);
	..some calcualtion with fft data.....
	cufftExecC2R(plan2,datafft, data);

the win64 cufft.lib give the following error.

Error 1 error LNK2019: unresolved external symbol _cudaFree@4 referenced in function _main C:\Users\user\Desktop\test\fftest\kernel.cu.obj fftest
Error 2 error LNK2019: unresolved external symbol _cufftDestroy@4 referenced in function _main C:\Users\user\Desktop\test\fftest\kernel.cu.obj fftest
Error 3 error LNK2019: unresolved external symbol _cufftExecC2R@12 referenced in function _main C:\Users\user\Desktop\test\fftest\kernel.cu.obj fftest
Error 4 error LNK2019: unresolved external symbol _cufftExecR2C@12 referenced in function _main C:\Users\user\Desktop\test\fftest\kernel.cu.obj fftest

Linker problem solved.
-just for people who searched the same problem