Zxing 与 Xcode 4

发布于 2024-11-13 10:24:30 字数 1683 浏览 3 评论 0原文

我在我的新项目中使用 zxing Framework 进行 QRcode 扫描。 我按照这个链接给 bu google 的所有说明进行操作 http://zxing.googlecode.com/svn/trunk/iphone/README 。 下面抛出错误

但仍然在使用配置调试的项目 BusinessCard 的 Build target BusinessCard

Ld /Users/innoppltechnologies/Library/Developer/Xcode/DerivedData/BusinessCard-gapnbrefvettfmgtnizgctiusbsn/Build/Intermediates/BusinessCard.build/Debug-iphoneos/BusinessCard.build/Objects-normal/armv6/BusinessCard 正常armv6 cd /Users/innopltechnologies/iosapps/BusinessCard setenv IPHONEOS_DEPLOYMENT_TARGET 4.0 setenv PATH“/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/innoppltechnologies/Library/Developer/Xcode/DerivedData/BusinessCard-gapnbrefvettfmgtnizgctiusbsn/Build/Products/Debug-iphoneos -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -L/用户/innoppltechnologies/iosapps/BusinessCard - 架构armv6的未定义符号: “_CVPixelBufferGetHeight”,引用自: -libZXingWidget.a(ZXingWidgetController.o)中的[ZXingWidgetController captureOutput:didOutputSampleBuffer:fromConnection:] “_kCVPixelBufferPixelFormatTypeKey”,引用自: -libZXingWidget.a(ZXingWidgetController.o)中的[ZXingWidgetController initCapture] “_CVPixelBufferGetBaseAddress”,引用自:

ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status

提前致谢

I am using zxing Framework in my new project for QRcode scanning.
I followed all the instructions from this link give bu google
http://zxing.googlecode.com/svn/trunk/iphone/README.
But still its throwing errors below

Build target BusinessCard of project BusinessCard with configuration Debug

Ld /Users/innoppltechnologies/Library/Developer/Xcode/DerivedData/BusinessCard-gapnbrefvettfmgtnizgctiusbsn/Build/Intermediates/BusinessCard.build/Debug-iphoneos/BusinessCard.build/Objects-normal/armv6/BusinessCard normal armv6
cd /Users/innoppltechnologies/iosapps/BusinessCard
setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/innoppltechnologies/Library/Developer/Xcode/DerivedData/BusinessCard-gapnbrefvettfmgtnizgctiusbsn/Build/Products/Debug-iphoneos -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -L/Users/innoppltechnologies/iosapps/BusinessCard -
Undefined symbols for architecture armv6:
"_CVPixelBufferGetHeight", referenced from:
-[ZXingWidgetController captureOutput:didOutputSampleBuffer:fromConnection:] in libZXingWidget.a(ZXingWidgetController.o)
"_kCVPixelBufferPixelFormatTypeKey", referenced from:
-[ZXingWidgetController initCapture] in libZXingWidget.a(ZXingWidgetController.o)
"_CVPixelBufferGetBaseAddress", referenced from:

ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

沉默的熊 2024-11-20 10:24:30

您是否引用了该项目的所有框架?

确保添加这些框架:

a. AVFoundation <- 这可能是导致您出现问题的原因。确保已添加此内容。

b. AudioToolbox

c. CoreVideo <- 这是第二个罪魁祸首。检查是否添加了此内容

d。 CoreMedia <- 这也是第二个罪魁祸首。检查是否添加了

e。 libiconv

f.地址簿

g.地址簿用户界面

Have you referenced all the frameworks to the project?

Make sure these frameworks are added:

a. AVFoundation <- This is probably the one which is causing the prob for you. Make sure this is added.

b. AudioToolbox

c. CoreVideo <- This is second culprit. Check if this is added

d. CoreMedia <- This is second culprit as well. Check if this is added

e. libiconv

f. AddressBook

g. AddressBookUI

夏了南城 2024-11-20 10:24:30

您没有正确安装 Zxing 库。您从给定链接下载的 zxing 库工作正常。请检查您的项目设置。

You not properly install Zxing library. You downloaded zxing library from your given link is properly working. Please check out your project setting.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文