sadfQED2
V2EX  ›  问与答

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

  •  
  •   sadfQED2 · Oct 24, 2019 · 1244 views
    This topic created in 2416 days ago, the information mentioned may be changed or developed.

    照着 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
       Oct 25, 2019
    至今没找到怎么解决,最终用 docker 了,docker 真香
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   901 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 20:00 · PVG 04:00 · LAX 13:00 · JFK 16:00
    ♥ Do have faith in what you're doing.