编译Zxing iphone时出错:参数太少

时间:2011-11-02 14:50:33

标签: iphone ios xcode zxing

将Zxing lib(http://code.google.com/p/zxing/)集成到我的Iphone项目中时出现以下错误

#import "QRCodeReader.h"



/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/include/c++/4.2.1/bits/basic_string.h
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/include/c++/4.2.1/bits/basic_string.h:772:34: error: too few arguments provided to function-like macro invocation [2]

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/include/c++/4.2.1/bits/basic_string.h:781:32: error: too few arguments provided to function-like macro invocation [2]

/ Developer / Platforms /.../ 4.2.1 / bits / basic_string.h:801:39:错误:为函数式宏调用提供的参数太少[2]

等...

有什么想法吗?

我正在使用XCode 4.2和Ios SDK 5.0

0 个答案:

没有答案