[英]Using a 32-bit library in a 64-bit app
I have my project set up to run as 64-bit on supporting devices, and 32-bit otherwise. 我的项目设置为在支持设备上以64位运行,否则为32位。
ZBarSDK
is giving me an issue though. ZBarSDK
给了我一个问题。 I get the error Undefined symbols for architecture x86_64
. 我收到错误
Undefined symbols for architecture x86_64
。
Doing a lipo -info
on the library file results in: armv6 armv7 i386
在库文件上执行
lipo -info
导致: armv6 armv7 i386
Is there a way to still compile my project for 64-bit and include this library? 有没有办法仍然编译我的64位项目并包含这个库?
32位代码不能调用64位代码,反之亦然。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.