... I am trying to upgrade tesseract from 5.2.0 to 5.3.3 on macOS 10.14.6 ... is unavailable: introduced in macOS 10.15
Upgrade? Zdenko st 10. 1. 2024 o 17:29 Benoît Mars <benoitm...@gmail.com> napísal(a): > 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 tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/dd8aca79-a516-4369-8039-b7dfbd78e339n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/dd8aca79-a516-4369-8039-b7dfbd78e339n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8zzK3Yjj7z5ExCwcSc7MK_1hFo5Yew8eagN5SOKG9Q9eg%40mail.gmail.com.