I am trying to upgrade tesseract from 5.2.0 to 5.3.3 on macOS 10.14.6 via 
Homebrew (v 4.2.3). The build fails during the "make training" process with 
the following errors:

Last 15 lines from 
/Users/benoitmars/Library/Logs/Homebrew/tesseract/03.make:
src/training/unicharset_extractor.cpp:74:33: error: '~path' is unavailable: 
introduced in macOS 10.15
    if (filePath.extension() == ".box") {
                                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3:
 
note: '~path' has been explicitly marked unavailable here
  ~path() = default;
  ^
src/training/unicharset_extractor.cpp:74:30: error: 'operator==' is 
unavailable: introduced in macOS 10.15
    if (filePath.extension() == ".box") {
                             ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1156:41:
 
note: 'operator==' has been explicitly marked unavailable here
  friend _LIBCPP_INLINE_VISIBILITY bool operator==(const path& __lhs, const 
path& __rhs) noexcept {
                                        ^
9 errors generated.

Any idea to fix this? Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/dd8aca79-a516-4369-8039-b7dfbd78e339n%40googlegroups.com.

Reply via email to