gpt4 book ai didi

iphone - 为 iPhone 构建开源库 (liblo)

转载 作者:行者123 更新时间:2023-12-03 21:00:24 26 4
gpt4 key购买 nike

我有一个使用 liblo (liblo.sourceforge.net) 的 iPhone 项目。我的项目在模拟器中运行良好,但是当我为设备构建时,ld 失败了:

ld: library not found for -llo

I suspect that this is because I just ran make install when I downloaded liblo. I found a thread that suggested cross compiling by running ./configure --host=arm-apple-darwin before make install, but that doesn't seem to have fixed the problem.

[/usr/local/lib]$ file liblo.dylib 
liblo.dylib: Mach-O dynamically linked shared library i386

有没有简单的解决办法?

最佳答案

这是为 OS 3.0 编译的文件。 http://www.samvermette.com/files/liblo.a.zip

只需将其添加到您的 XCode 项目中即可开始使用!

关于iphone - 为 iPhone 构建开源库 (liblo),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/961253/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com