Thanks for your reply.
Are these two related to icu4c? If yes 'brew info icu4c' gives me:

icu4c: stable 64.2 (bottled) [keg-only]

C/C++ and Java libraries for Unicode and globalization

https://ssl.icu-project.org/

/usr/local/Cellar/icu4c/64.2 (257 files, 69.2MB)

  Poured from bottle on 2019-05-06 at 17:49:58

From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/icu4c.rb

==> *Caveats*

icu4c is keg-only, which means it was not symlinked into /usr/local,

because macOS provides libicucore.dylib (but nothing else).


If you need to have icu4c first in your PATH run:

  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile

  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile


For compilers to find icu4c you may need to set:

  export LDFLAGS="-L/usr/local/opt/icu4c/lib"

  export CPPFLAGS="-I/usr/local/opt/icu4c/include"


For pkg-config to find icu4c you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"


==> *Analytics*

install: 368,818 (30 days), 986,695 (90 days), 3,236,278 (365 days)

install_on_request: 14,492 (30 days), 39,988 (90 days), 134,775 (365 days)

build_error: 0 (30 days)


Do you have any idea why './configure CC=gcc-8 CXX=g++-8 
CPPFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib' 
would gives me:


checking for icu-uc >= 52.1... no

checking for icu-i18n >= 52.1... no

Thanks!



在 2019年6月3日星期一 UTC-4上午1:21:10,zdenop写道:
>
>
> po 3. 6. 2019 o 4:10 Jingjing Lin <[email protected] <javascript:>> 
> napísal(a):
>
>>
>> checking for icu-uc >= 52.1... no
>>
>> checking for icu-i18n >= 52.1... no
>>
> This is problem - you do now have icu / right version...
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/777b2f35-d6ec-4ff7-85c9-30423efd0c48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to