私は自分のプロジェクトを 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
。
チュートリアル プログラムをコピーしましたが、正確なエラーは次のとおりです。
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)
では、プロジェクトのセットアップで何が問題になる可能性がありますか? ありがとう!