Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leptonica 1.72 and /TP #11

Open
tofutim opened this issue Dec 1, 2015 · 0 comments
Open

Leptonica 1.72 and /TP #11

tofutim opened this issue Dec 1, 2015 · 0 comments

Comments

@tofutim
Copy link

tofutim commented Dec 1, 2015

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

This was referenced Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant