架构armv7的未定义符号
我的应用程序出现一个错误。 Xcode ios5 gm_seed 。
我已将 libz1.2.5.dynlib 添加到 OTHER_LDFlag
Undefined symbols for architecture armv7:
"___zzip_aligned4", referenced from:
___zzip_parse_root_directory in libZZipLib.a(zip.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
有什么想法吗?
my app got one error. Xcode ios5 gm_seed .
i have add libz1.2.5.dynlib to OTHER_LDFlag
Undefined symbols for architecture armv7:
"___zzip_aligned4", referenced from:
___zzip_parse_root_directory in libZZipLib.a(zip.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
any idea ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终修复 Cocos2D 类似错误的方法是搜索有问题的函数。在您的情况下,
ctrl+shift+f
代表zzip_aligned4
,然后alt+click
位于函数名称上以转到定义。您可能会发现它不是 libz.2.5,而是标准 libz 或 libz 的其他版本。The way I finally fixed a similar error with Cocos2D was to search for the function in question. In your case,
ctrl+shift+f
forzzip_aligned4
, thenalt+click
on the function name to go to the definition. You may find that rather than libz.2.5, it's in standard libz or another version of libz.