I am trying to link my project with fftw and so far, I got it for compilation, but not for reference. As the site said, I generated all the .lib files (although I use only double precision) and copied them to the C:\Program Files\Microsoft Visual Studio 9.0\VC\lib.h file on C:\Program Files\Microsoft Visual Studio 9.0\VC\includeand the .dll on C:\windows\system32.
I copied the curriculum, and the exact error I get is:
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_free referenced in function "bool __cdecl test(void)" (?test@@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_destroy_plan referenced in function "bool __cdecl test(void)" (?test@@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_execute referenced in function "bool __cdecl test(void)" (?test@@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_plan_dft_1d referenced in function "bool __cdecl test(void)" (?test@@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_malloc referenced in function "bool __cdecl test(void)" (?test@@YA_NXZ)
So what could be wrong with my project setup? Thank!
source
share