Skip to content

Commit

Permalink
Add a workaround when building with MacPort's g++ compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
ic committed Apr 23, 2018
1 parent f0771a1 commit 18059a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,12 @@ sudo port install leptonica
sudo make install
```

If compilation fails at the `make` command, with `libtool` erring on missing instructions, you may be building with MacPort's `g++` compiler, with [known issues](https://github.com/tesseract-ocr/tesseract/pull/1474). A workaround is to re-configure the build:

./configure CXXFLAGS=-Wa,-q

And then proceed with `make`.

### Install Tesseract with training tools

In the above training tools are not installed. You can install not only Tesseract but also training tools like below.
Expand Down

0 comments on commit 18059a0

Please sign in to comment.