mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:19:18 +08:00
Bump versions of gcc & g++ from 6 to current 8
parent
0dc4443ae2
commit
53081b37a2
@ -427,7 +427,7 @@ The exact values of ``CPPFLAGS`` and ``LDFLAGS`` can be read from ``brew info ic
|
|||||||
git clone https://github.com/tesseract-ocr/tesseract/
|
git clone https://github.com/tesseract-ocr/tesseract/
|
||||||
cd tesseract
|
cd tesseract
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure CC=gcc-6 CXX=g++-6 CPPFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib
|
./configure CC=gcc-8 CXX=g++-8 CPPFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib
|
||||||
make -j
|
make -j
|
||||||
sudo make install # if desired
|
sudo make install # if desired
|
||||||
make training # if installed with training dependencies
|
make training # if installed with training dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user