生成SDK时链接错误

时间:2014-12-15 09:48:28

标签: ios xcode audio linker

我正在尝试使用音频相关框​​架生成SDK,在编译代码时会遇到链接错误。解决这些问题的任何帮助。

Undefined symbols for architecture armv7:
  "_vDSP_ztoc", referenced from:
      FFTRealCalculator::InverseFFT_A(ComplexSplit*, float*, int) in libEywaSDK.a(FFTRealCalculator.o)
  "_vDSP_ctoz", referenced from:
      FFTRealCalculator::ForwardFFT_A(float const*, unsigned long, ComplexSplit*) in libEywaSDK.a(FFTRealCalculator.o)
  "_vDSP_fft_zrip", referenced from:
      FFTRealCalculator::ForwardFFT_A(float const*, unsigned long, ComplexSplit*) in libEywaSDK.a(FFTRealCalculator.o)
      FFTRealCalculator::InverseFFT_A(ComplexSplit*, float*, int) in libEywaSDK.a(FFTRealCalculator.o)
  "_vDSP_create_fftsetup", referenced from:
      FFTRealCalculator::Initialize(unsigned char) in libEywaSDK.a(FFTRealCalculator.o)
  "_vDSP_destroy_fftsetup", referenced from:
      FFTRealCalculator::~FFTRealCalculator() in libEywaSDK.a(FFTRealCalculator.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:4)

这些符号来自Accelerate Framework

我怀疑你需要将它添加到你的项目中。

答案 1 :(得分:0)

  • 转到目标 - >有效的架构和删除armv7。
  • 清理您的项目&构建

希望它对你有用。