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 <tfmor...@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-ocr+unsubscr...@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/CAJbzG8w3jXSkuUvEgXd5dF9TpkeomorYjiB4ohQN%2BnHOE1muwg%40mail.gmail.com.