简体   繁体   English

在64位应用程序中使用32位库

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM