r1me / TTesseractOCR4

Object Pascal binding for tesseract-ocr - an optical character recognition engine
MIT License
145 stars 46 forks source link

build error #10

Closed kingson999 closed 5 years ago

kingson999 commented 6 years ago

when build unit FormTesseractOCRImage; show below error:

image

r1me commented 5 years ago

The only tested and supported Delphi version is the latest one (10.2.3) for VCL. You can try to declare PUTF8Char as PAnsiChar as it does for Lazarus:

{$IFDEF FPC}
type
  PUTF8Char = PAnsiChar;
{$ENDIF}

But I can't guarantee any success.