DayBreak-u / chineseocr_lite

超轻量级中文ocr,支持竖排文字识别, 支持ncnn、mnn、tnn推理 ( dbnet(1.8M) + crnn(2.5M) + anglenet(378KB)) 总模型仅4.7M
GNU General Public License v2.0
11.83k stars 2.26k forks source link

编译不通过 #27

Open wanglaiqi opened 4 years ago

wanglaiqi commented 4 years ago

g++: error: unrecognized command line option ‘-fno-plt’ Makefile:10: recipe for target 'pse.so' failed make: *** [pse.so] Error 1

DayBreak-u commented 4 years ago

https://github.com/ouyanghuiyu/chineseocr_lite/issues/14

xiaojidaner commented 4 years ago

g++: error: unrecognized command line option ‘-fno-plt’ Makefile:10: recipe for target 'pse.so' failed make: *** [pse.so] Error 1

请问你的问题解决了吗

kkkzxx commented 4 years ago

如果使用anaconda安装的3.7版本,需要把CXXFLAGS = -I include -std=c++11 -O3 $(shell python3-config --cflags) 改成CXXFLAGS = -I include -std=c++11 -O3 -I/home/kkkzxx/anaconda3/include/python3.7m,kkkzxx换成你的用户名