Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化失败:ret=-80008 #14

Open
Snail67 opened this issue Sep 28, 2017 · 9 comments
Open

初始化失败:ret=-80008 #14

Snail67 opened this issue Sep 28, 2017 · 9 comments

Comments

@Snail67
Copy link

Snail67 commented Sep 28, 2017

Can not load /var/containers/Bundle/Application/AA1BEDE4-D59D-4DBA-ABDA-42DD8D173E57/******.app/zocr0.lib,控制台始终打印初始化失败:ret=-80008,识别的时候也是打印 ret=[-80002],ret=[-80002],ret=[-80002],ret=[-1]不知道是什么原因

@daiwei1137
Copy link

集成到项目后老是打印ret=[-80002]怎么破???,多谢大神了!

@zhongfenglee
Copy link
Owner

解决了?

@daiwei1137
Copy link

daiwei1137 commented Jan 6, 2018 via email

@Jackielc
Copy link

@zhongfenglee 请问怎么解决

@20120608
Copy link

@daiwei1137 请问还记得怎么解决的吗

@zhenwei12138
Copy link

** 没有错误 /
#define STATUS_OK (0 )
/
* 内存不足 /
#define STATUS_NOMEMORY (-80001)
/
* 输入参数不对 /
#define STATUS_INVALIDARG (-80002)
/
* 无此接口 /
#define STATUS_NOINTERFACE (-80003)
/
* 无效指针 /
#define STATUS_INVALIDPTR (-80004)
/
文件错误 /
#define STATUS_FILEERROR (-80005)
/
* 识别字典没有初始化 /
#define STATUS_DICT_UNINIT (-80006)
/
* 识别字典错误 /
#define STATUS_RECG_ERROR (-80007)
/
* 字典初始化错误 /
#define STATUS_DICT_ERROR (-80008)
/
* 指针为空 /
#define STATUS_NULLPTR (-80009)
/
* not supported image formate /
#define STATUS_UNKNOWFMT (-80010)
/
* 图像错误 /
#define STATUS_BADIMAGE (-80011)
/
* 添加其他错误 ........................ /
/
* 定位错误 /
#define STATUS_DETECTERR (-80020)
/
* 解码错误 /
#define STATUS_DECODEERR (-80021)
/
* 编码错误 /
#define STATUS_ENCODEERR (-80022)
/
* 库过期了*/
#define STATUS_OVERTIME (-80023)
/**其他错误 */
#define STATUS_UNEXPECTED (-88888)

@zhenwei12138
Copy link

错误码如果为-80002的时候请检查一下是否进行了初始化

@zhenwei12138
Copy link

const char *thePath = [[[NSBundle mainBundle] resourcePath] UTF8String];
int ret = EXCARDS_Init(thePath);
if (ret != 0) {
NSLog(@"初始化失败:ret=%d", ret);
}

@Derek-Zh
Copy link

求问,字典初始化错误-80008怎么解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants