From 309c516d942c9da7fd4c77d222b9909030cec0e3 Mon Sep 17 00:00:00 2001 From: Lyq Date: Mon, 19 Nov 2018 23:48:35 -0600 Subject: [PATCH] LyqSpace update building tesseract training module instructions. Fixed pango libraries not found bugs. --- Compiling.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Compiling.md b/Compiling.md index e247f58..aa3e2b4 100644 --- a/Compiling.md +++ b/Compiling.md @@ -411,8 +411,7 @@ brew install gcc ### Install Tesseract with training tools -In the above, training tool dependencies are not installed. You can install them like below. - +In the above, training tool dependencies are not installed. You can install them like below. ``` brew install pango ``` @@ -421,7 +420,7 @@ brew install pango As of January 2017, the clang builds but OpenMP will only use a single thread, reducing performance. For best results, use gcc. -The exact values of ``CPPFLAGS`` and ``LDFLAGS`` can be read from ``brew info icu4c``. +The exact values of ``CPPFLAGS`` and ``LDFLAGS`` can be read from ``brew info icu4c``. If you want to build training module, you should also link ``pango`` libraries as `-L/usr/local/Cellar/pango/1.42.4/lib`. ```bash git clone https://github.com/tesseract-ocr/tesseract/