我试图用fftw链接我的项目,到目前为止,我已经得到它来编译,但没有链接。正如网站所说,我生成了所有.lib文件(尽管我只使用双精度),并将它们复制到C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
,将.h文件复制到C:\Program Files\Microsoft Visual Studio 9.0\VC\include
,将.dll复制到C:\windows\system32
。在Visual Studio中fftw?
我已经复制了教程程序,我得到确切的错误是:
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_free referenced in function "bool __cdecl test(void)" ([email protected]@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_destroy_plan referenced in function "bool __cdecl test(void)" ([email protected]@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_execute referenced in function "bool __cdecl test(void)" ([email protected]@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_plan_dft_1d referenced in function "bool __cdecl test(void)" ([email protected]@YA_NXZ)
1>hw10.obj : error LNK2019: unresolved external symbol __imp__fftw_malloc referenced in function "bool __cdecl test(void)" ([email protected]@YA_NXZ)
那么,什么可能是错误的与我的项目设置?谢谢!
谢谢!我期待它是这样简单的事情。 – 2010-04-28 15:53:07