我正在尝试编译使用FFTW库的开源软件(我使用的是MS VC ++ 2008)。我已经构建并链接了库文件但是我收到了一些LINK 2028和2019错误。有什么想法帮我建立吗?
Error 92 error LNK2028: unresolved token (0A00053A) "extern "C" void __cdecl fftw_free(void *)" (?fftw_free@@$$J0YAXPAX@Z) referenced in function "public: virtual __thiscall music::FftwAnalyser::~FftwAnalyser(void)" (??1FftwAnalyser@music@@$$FUAE@XZ) spectrumanalyserfftw.obj
Error 93 error LNK2028: unresolved token (0A000546) "extern "C" struct fftw_plan_s * __cdecl fftw_plan_dft_1d(int,double (*)[2],double (*)[2],int,unsigned int)" (?fftw_plan_dft_1d@@$$J0YAPAUfftw_plan_s@@HPAY01N0HI@Z) referenced in function "public: __thiscall music::FftwAnalyser::FftwAnalyser(unsigned int,class music::Parameters const &)" (??0FftwAnalyser@music@@$$FQAE@IABVParameters@1@@Z) spectrumanalyserfftw.obj
Error 94 error LNK2028: unresolved token (0A000559) "extern "C" void * __cdecl fftw_malloc(unsigned int)" (?fftw_malloc@@$$J0YAPAXI@Z) referenced in function "public: __thiscall music::FftwAnalyser::FftwAnalyser(unsigned int,class music::Parameters const &)" (??0FftwAnalyser@music@@$$FQAE@IABVParameters@1@@Z) spectrumanalyserfftw.obj
Error 95 error LNK2028: unresolved token (0A00059D) "extern "C" void __cdecl fftw_execute(struct fftw_plan_s * const)" (?fftw_execute@@$$J0YAXQAUfftw_plan_s@@@Z) referenced in function "public: virtual class music::Chromagram * __thiscall music::FftwAnalyser::chromagram(class music::AudioData const &)" (?chromagram@FftwAnalyser@music@@$$FUAEPAVChromagram@2@ABVAudioData@2@@Z) spectrumanalyserfftw.obj
Error 96 error LNK2028: unresolved token (0A000669) "extern "C" void __cdecl fftw_destroy_plan(struct fftw_plan_s *)" (?fftw_destroy_plan@@$$J0YAXPAUfftw_plan_s@@@Z) referenced in function "public: virtual __thiscall music::FftwAnalyser::~FftwAnalyser(void)" (??1FftwAnalyser@music@@$$FUAE@XZ) spectrumanalyserfftw.obj
Error 97 error LNK2019: unresolved external symbol "extern "C" void __cdecl fftw_free(void *)" (?fftw_free@@$$J0YAXPAX@Z) referenced in function "public: virtual __thiscall music::FftwAnalyser::~FftwAnalyser(void)" (??1FftwAnalyser@music@@$$FUAE@XZ) spectrumanalyserfftw.obj
Error 98 error LNK2019: unresolved external symbol "extern "C" void __cdecl fftw_destroy_plan(struct fftw_plan_s *)" (?fftw_destroy_plan@@$$J0YAXPAUfftw_plan_s@@@Z) referenced in function "public: virtual __thiscall music::FftwAnalyser::~FftwAnalyser(void)" (??1FftwAnalyser@music@@$$FUAE@XZ) spectrumanalyserfftw.obj
Error 99 error LNK2019: unresolved external symbol "extern "C" struct fftw_plan_s * __cdecl fftw_plan_dft_1d(int,double (*)[2],double (*)[2],int,unsigned int)" (?fftw_plan_dft_1d@@$$J0YAPAUfftw_plan_s@@HPAY01N0HI@Z) referenced in function "public: __thiscall music::FftwAnalyser::FftwAnalyser(unsigned int,class music::Parameters const &)" (??0FftwAnalyser@music@@$$FQAE@IABVParameters@1@@Z) spectrumanalyserfftw.obj
Error 100 error LNK2019: unresolved external symbol "extern "C" void * __cdecl fftw_malloc(unsigned int)" (?fftw_malloc@@$$J0YAPAXI@Z) referenced in function "public: __thiscall music::FftwAnalyser::FftwAnalyser(unsigned int,class music::Parameters const &)" (??0FftwAnalyser@music@@$$FQAE@IABVParameters@1@@Z) spectrumanalyserfftw.obj
Error 101 error LNK2019: unresolved external symbol "extern "C" void __cdecl fftw_execute(struct fftw_plan_s * const)" (?fftw_execute@@$$J0YAXQAUfftw_plan_s@@@Z) referenced in function "public: virtual class music::Chromagram * __thiscall music::FftwAnalyser::chromagram(class music::AudioData const &)" (?chromagram@FftwAnalyser@music@@$$FUAEPAVChromagram@2@ABVAudioData@2@@Z) spectrumanalyserfftw.obj
谢谢!