tesseract-vs2012 icon indicating copy to clipboard operation
tesseract-vs2012 copied to clipboard

Leptonica 1.72 and /TP

Open tofutim opened this issue 9 years ago • 0 comments

Hi, just a note when you get to it - or when I get the PR ready - when switching to 1.72, /TP (C++ mode) needs used as L_BUF_SIZE is no longer a #define but a static const, which VS does not like in /TC mode. It is a C99 thing that is supported by /TP.

The error will be things like

Severity Code Description Project File Line Error C2057 expected constant expression liblept-172 D:\Loqu8\OCR\tesseract-vs2015\liblept\src\classapp.c 101

tofutim avatar Dec 01 '15 18:12 tofutim