deepin安装tesseract出错,tesserocr.cpp:653:10: fatal error: leptonica/allheaders.h: 没有那个文件或目录

错误:

tesserocr.cpp:653:10: fatal error: leptonica/allheaders.h: 没有那个文件或目录
#include "leptonica/allheaders.h"
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

解决办法: sudo apt install libleptonica-dev

      sudo apt install libtesseract-dev

原文:https://blog.csdn.net/u011148366/article/details/75674845

猜你喜欢

转载自www.cnblogs.com/zllwxm123/p/10225590.html