I think it needs at the top of the file: #include <algorithm>
On Wednesday, July 26, 2017 at 10:50:35 AM UTC-5, THintz wrote: > > The following line generates an error: > > max_offset = std::max(max_offset, (*code)(i)-han_offset); > > > > Severity Code Description Project File Line Suppression State > Error C2039 'max': is not a member of 'std' libtesseract > <path>\tesseract\ccutil\unicharcompress.cpp 208 > > -- 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 post to this group, send email to tesseract-ocr@googlegroups.com. 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/844fa1e4-55aa-420b-a630-1d5e7589016a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.