【发布时间】:2012-03-21 07:13:35
【问题描述】:
我有一个 OCR 应用程序。我正在为我的应用程序使用 tesseract api 库。但是当我运行应用程序时,它会显示错误(错误:ISO C++ 禁止声明没有类型的 'TessBaseAPI'?)。
这是个谜。
@interface OCRViewController : UIViewController <UIImagePickerControllerDelegate,UINavigationControllerDelegate>{
UIImagePickerController *imagePickerController;
//Getting error in this line.
TessBaseAPI *tess;
UIImageView *iv;
UILabel *label;
}
【问题讨论】: