运行配置时失败
checking for leptonica... yes
checking for pixCreate in -llept... no
configure: error: leptonica library missing
但我已经构建了leptonica 1.69(下载了源代码并运行./configure && make install
)
Edit
I think configure: error: leptonica library missing
有点误导,请注意它首先说checking for leptonica... yes
,然后失败checking for pixCreate in -llept... no
。所以也许问题不是图书馆丢失了,而是其他原因。
读完后我终于成功编译了this https://groups.google.com/forum/?fromgroups=#!topic/tesseract-ocr/4infrb1qBLA and this http://code.google.com/p/iulib/issues/detail?id=18线。正确的步骤是:
./autogen.sh
export LIBLEPT_HEADERSDIR=/local/include
./configure --with-extra-libraries=/local/lib
make install
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)