【问题标题】:linker error using external FreeVerb C++ classes in iOS project在 iOS 项目中使用外部 FreeVerb C++ 类的链接器错误
【发布时间】:2011-09-08 00:37:53
【问题描述】:

我正在尝试在音频合成项目中使用freeverb reverberation library。 我已将源文件添加到 Xcode 项目中,但是当我想使用库中的类时,出现链接器错误:

Undefined symbols for architecture i386:
"fv3::nrevb_::nrevb_()", referenced from:
  -[FreeVerbModule .cxx_construct] in FreeVerbModule.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

我应该担心 i386 架构的事情吗? 我对 C++ 了解不多,希望只使用该库。它利用了很多我无法真正阅读的 C++ 内容,包括以下内容:

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <new>
#include <fftw3.h>
#include <omp.h>
#include <cstdarg>
#include <vector>
#include <stdint.h>

项目构建成功,我还需要将这些添加到项目中吗?

请原谅我的菜鸟。

【问题讨论】:

  • 你能否让 freeverb 在 iOS 上工作?

标签: c++ ios linker


【解决方案1】:

您是否遇到here 讨论的 32 位与 64 位问题?

【讨论】:

  • 不知道到 32 位?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-10-06
  • 2012-10-25
  • 1970-01-01
  • 2021-07-04
  • 1970-01-01
  • 1970-01-01
  • 2018-03-09
相关资源
最近更新 更多