iPhone 手机间隙 BarcodeScanner 插件的词法或预处理器问题
您好,我想在设备中运行 iPhone 手机间隙 BarcodeScanner 插件。我在运行应用程序时收到此错误。我做了 Zing 和 BarcodeScanner 插件文档中提到的所有事情。当我构建在 /Users/celstra/Desktop/final/ZXingWidget/Classes/FormatReader.h 中找不到的应用程序“zxing/common/Counted.h”文件时,我收到此错误,所以任何人都可以指导我。 我只收到一个错误。我已附上该应用程序的输出。请找到输出图片。
Hi i want to run iPhone phone gap BarcodeScanner plugin in the device. I am getting this error while i am running my application. I did every thing mentioned in the Zing and BarcodeScanner plugin document. I am getting this error while i am build the application 'zxing/common/Counted.h' file not found in /Users/celstra/Desktop/final/ZXingWidget/Classes/FormatReader.h so can any one guide me.
Only one error i am getting .I have attached out put of this application . Please find the output picture.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该项目未正确设置。包含搜索路径未指向 zxing cpp 目录 (
cpp/core/source
)。要么项目文件中没有该路径的条目,要么 cpp 目录不在应有的位置。The project is not set up correctly. The include search path is not pointing at the zxing cpp directory (
cpp/core/source
). Either there's no entry in the project file for that path or the cpp directory is not where it should be.我有同样的问题。我最初只是从 zxing 的 SVN trunk 中查看了 iphone 目录。在修复失败后(没有尝试任何复杂的解决方案),我决定放弃该项目,并下载整个 zxing SVN 主干。之后,请确保阅读自述文件以添加库和依赖项。之后一切都很好。
I had the same issue. I had originally checked out just the iphone directory from zxing's SVN trunk. After failing to fix (without trying any of the complex solutions), I decided to blow away the project, and download the entire zxing SVN trunk. After that, make sure you read the README to add library and dependency. All was well after that.