SetImage error

21 views
Skip to first unread message

Sergei Turko

unread,
Aug 19, 2016, 4:48:10 AM8/19/16
to tesseract-ocr
Hi. I included all libs\h files, add tesseract and leptonica lib, but when I try to use this:

    Pix *pix = pixRead("C:\\2.tiff");
    myOCR->SetImage(pix);


I have error

Error    LNK2019    unresolved external symbol "public: void __thiscall tesseract::TessBaseAPI::SetImage(struct Pix const *)" (?SetImage@TessBaseAPI@tesseract@@QAEXPBUPix@@@Z) referenced in function _main


How can I resolve it?

Tesseract - ocr version : 3.04.00
Leptonica version : leptonica-1.73 (Aug 18 2016, 11:32:05) [MSC v.1900 LIB Debug
 x86]
Reply all
Reply to author
Forward
0 new messages