error LNK2019: symbole ChoiceIterator not resolv on tesseract 3.04

49 views
Skip to first unread message

Virtuaklem

unread,
Feb 3, 2016, 1:07:54 PM2/3/16
to tesseract-ocr
Hi,

I am test tesseract on windows and i tries to compile with tesseract 3.04 a demo sample find on the wiki : https://github.com/tesseract-ocr/tesseract/wiki/APIExample#example-of-iterator-over-the-classifier-choices-for-a-single-symbol

But, when i generate on visual studio i have some error :
1>tesseractmain.obj : error LNK2019: symbole externe non résolu "public: __thiscall tesseract::ChoiceIterator::~ChoiceIterator(void)" (??1ChoiceIterator@tesseract@@QAE@XZ) référencé dans la fonction _main
1>tesseractmain.obj : error LNK2019: symbole externe non résolu "public: bool __thiscall tesseract::ChoiceIterator::Next(void)" (?Next@ChoiceIterator@tesseract@@QAE_NXZ) référencé dans la fonction _main
1>tesseractmain.obj : error LNK2019: symbole externe non résolu "public: float __thiscall tesseract::ChoiceIterator::Confidence(void)const " (?Confidence@ChoiceIterator@tesseract@@QBEMXZ) référencé dans la fonction _main
1>tesseractmain.obj : error LNK2019: symbole externe non résolu "public: char const * __thiscall tesseract::ChoiceIterator::GetUTF8Text(void)const " (?GetUTF8Text@ChoiceIterator@tesseract@@QBEPBDXZ) référencé dans la fonction _main
1>tesseractmain.obj : error LNK2019: symbole externe non résolu "public: __thiscall tesseract::ChoiceIterator::ChoiceIterator(class tesseract::LTRResultIterator const &)" (??0ChoiceIterator@tesseract@@QAE@ABVLTRResultIterator@1@@Z) référencé dans la fonction _main

I use tesseract 3.04.

Someone can help me ?
Clement
Reply all
Reply to author
Forward
0 new messages