ios - 如何为 iOS 构建 fftw 库

标签 ios cross-compiling fftw

我需要为 iOS 构建 fftw。我在这里遵循解决方案: How do I link third party libraries like fftw3 and sndfile to an iPhone project in Xcode?

现在我有了图书馆。并且我用lipo -info查看了一下,发现支持所有的arm和i386。但是当我尝试在我的 iPhone 应用程序中使用它时。我收到如下错误: 架构 arm64 的 undefined symbol : “_fftw_malloc”,引用自:

我在 OSX10.10 上使用 XCode6-beta6

最佳答案

解决了。我使用 configure float precision 构建库。我用 double 调用函数。当然,它不能被链接。 nm 帮助我检查静态库中的符号..

关于ios - 如何为 iOS 构建 fftw 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25835213/

相关文章:

ios - Swift 3.0 CIEdgeWork 过滤器不工作

python - 为 arm 交叉编译 py-spidev

fortran - 通过 fftw_mpi_r2c_2d 和 fftw_mpi_c2r_2d 输出不正确

c - fftw3 逆变换不起作用

qt - 为什么麦克风关闭时基本频率和幅度不为零?

ios - Xcode 为两个不同的字符串加载相同的图像

ios - 仅允许从 UITextField 中选择和复制不起作用

ios - Delphi FireMonkey 中的 UIView animateWithDuration

compiler-errors - 使用 --os :any 编译 Nim 文件时出错

c++ - arm-linux-gnueabihf-g++ 是否具有可靠的 C++0x 支持