V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
sadfQED2
V2EX  ›  问与答

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

  •  
  •   sadfQED2 · Oct 24, 2019 · 1182 views
    This topic created in 2383 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   ·   971 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:05 · PVG 02:05 · LAX 11:05 · JFK 14:05
    ♥ Do have faith in what you're doing.