mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Update INSTALL.GIT.md
This commit is contained in:
parent
bf43d6a6e9
commit
86407964b7
@ -51,21 +51,22 @@ There is alternative build system based on multiplatform [cmake](https://cmake.o
|
||||
## WINDOWS
|
||||
|
||||
You need to use leptonica with cmake patch:
|
||||
|
||||
git clone https://github.com/egorpugin/leptonica.git
|
||||
cd leptonica
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build .
|
||||
|
||||
cd ..\..
|
||||
git clone https://github.com/tesseract-ocr/tesseract.git
|
||||
cd tesseract
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DLeptonica_BUILD_DIR=/abs/path/to/leptonica/build
|
||||
cmake .. -DLeptonica_BUILD_DIR=\abs\path\to\leptonica\build
|
||||
cmake --build .
|
||||
|
||||
|
||||
# WINDOWS Visual Studio
|
||||
|
||||
Please read http://vorba.ch/2014/tesseract-3.03-vs2013.html
|
||||
Please read http://vorba.ch/2014/tesseract-3.03-vs2013.html
|
||||
|
Loading…
Reference in New Issue
Block a user