From e25bffed5d2350436b7967608d7aec1e09420152 Mon Sep 17 00:00:00 2001 From: Jesika H Haria Date: Tue, 17 Apr 2018 16:23:19 -0700 Subject: [PATCH] Adding `brew install pango` requirement for training tools in Homebrew --- Compiling.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Compiling.md b/Compiling.md index b87d43c..60b7ddd 100644 --- a/Compiling.md +++ b/Compiling.md @@ -371,6 +371,14 @@ brew install leptonica brew install gcc ``` +### Install Tesseract with training tools + +In the above, training tool dependencies are not installed. You can install them like below. + +``` +brew install pango +``` + ### Compile As of January 2017, the clang builds but OpenMP will only use a single thread, reducing performance. For best results, use gcc. @@ -384,7 +392,7 @@ cd tesseract ./configure CC=gcc-6 CXX=g++-6 CPPFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib make -j sudo make install # if desired -make training +make training # if installed with training dependencies ``` # Common Errors