更新到XCODE 5.1/IOS 7.1并尝试构建包含Zxing库的我的项目。收到以下错误:
/Zxing/cpp/core/src/zxing/ChecksumException.h:3:9: '__CHECKSUM_EXCEPTION_H__' is used as a header guard here, followed by #define of a different macro
以下代码发生错误,
#ifndef __CHECKSUM_EXCEPTION_H__ //this line causes the error.
#define __NOT_FOUND_EXCEPTION_H__
.....
.....
#endif // __CHECKSUM_EXCEPTION_H__
在 xcode 5.1 更新之前一切都很完美。
我怀疑最近迁移IOS 7.1以支持64 位架构会导致此错误,但我不确定。
我尝试使用此链接从 Zxing 库中删除 64 位支持,但仍然无法正常工作。
任何帮助或建议将不胜感激。