V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
sadfQED2
V2EX  ›  问与答

编译 Tesseract 提示 Need to reconfigure project, so there are no errors

  •  
  •   sadfQED2 · 2019-10-24 15:23:55 +08:00 · 839 次点击
    这是一个创建于 1705 天前的主题,其中的信息可能已经有所发展或是发生改变。

    照着 https://github.com/tesseract-ocr/tesseract/wiki/Compiling#macos 官方 wiki 来的,用 Homebrew 方式安装的依赖,然鹅,执行

    make training
    

    的时候提示

    Need to reconfigure project, so there are no errors
    

    这是麻意思啊???

    Mac 10.15

    官方的命令(g++-8 那里我通不过,所以我改成 g++了):

    git clone https://github.com/tesseract-ocr/tesseract/
    cd tesseract
    ./autogen.sh
    ./configure CXX=g++-8 CPPFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib
    make -j
    sudo make install  # if desired
    make training # if installed with training dependencies
    
    
    sadfQED2
        1
    sadfQED2  
    OP
       2019-10-25 08:56:43 +08:00
    至今没找到怎么解决,最终用 docker 了,docker 真香
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3015 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:25 · PVG 20:25 · LAX 05:25 · JFK 08:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.