Yes, the future looks complicated for this version of macOS, but I do not really have the choice… Now the error is with the line #69:
src/training/unicharset_extractor.cpp:69:58: error: 'u8string' is unavailable: introduced in macOS 10.15 It prevents me from installing ffmpeg which is really painful… Le jeudi 11 janvier 2024 à 21:10:54 UTC+1, zdenop a écrit : > std::filesystem::path[1] is part of the C++17 standard and Tesseract > requires this standard for a long time (4-5 years)[2]. So you suggest > reverting this decision? > > > [1] https://en.cppreference.com/w/cpp/filesystem/path > [2] > https://github.com/search?q=repo%3Atesseract-ocr%2Ftesseract+C%2B%2B17&type=code > > > Zdenko > > > št 11. 1. 2024 o 20:05 Tom Morris <tfmo...@gmail.com> napísal(a): > >> It looks like unicharset_extractor.cpp is the only place that >> std::filesystem::path is used and that was introduced relatively recently: >> >> https://github.com/tesseract-ocr/tesseract/commit/8a26329623a017277364bc5670266c7e964c8a07?diff=split&w=1 >> so it probably wouldn't be hard to restore compatibility with older >> systems, but you're likely living on borrowed time. >> >> If you want to try fixing this locally, you could replace >> path.extension() with string.compare() >> >> Tom >> >> -- >> > 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-oc...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/f444c87d-f68d-4cd7-b935-df751f89de9bn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/f444c87d-f68d-4cd7-b935-df751f89de9bn%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/31d01610-3f49-4576-8127-4b0b5bf704b4n%40googlegroups.com.