also facing problem on linking error error LNK1181: cannot open input file 'liblept171-static-mtdll.lib. kindly help me.
On Monday, 8 June 2015 09:54:12 UTC+5:30, supriya Das wrote: > > Thanks Quan Nguyen for your reply, but i am facing Error "error LNK1104: > cannot open file 'zlib125-static-mtdll-debug.lib'" when i am trying to > build Tesseract 3.04. I am new in Tesseract if you hep me i will be highly > obliged. > > > On Friday, 5 June 2015 22:17:18 UTC+5:30, Quan Nguyen wrote: >> >> It's currently in the repo. Download and compile it. >> >> https://code.google.com/p/tesseract-ocr/source/checkout >> >> On Friday, June 5, 2015 at 8:11:37 AM UTC-5, supriya Das wrote: >>> >>> hello Quan Nguyen, >>> Thanks for your answer. Is it available to use. If available please >>> give me the link. >>> >>> On Friday, 5 June 2015 18:05:00 UTC+5:30, Quan Nguyen wrote: >>>> >>>> ChoiceIterator is specific to Tesseract 3.04, I believe. >>>> >>>> On Friday, June 5, 2015 at 3:52:17 AM UTC-5, supriya Das wrote: >>>>> >>>>> yes i included both the libraries. libtesseract302.lib >>>>> ,libtesseract302d.lib is any other libraries are need to include? >>>>> >>>>> >>>>> On Friday, 5 June 2015 12:55:46 UTC+5:30, zdenop wrote: >>>>>> >>>>>> As far as I remember there was linking problem only with with debug >>>>>> shared library. Release version worked fine... >>>>>> >>>>>> Did you included both libraries at the same time? >>>>>> >>>>>> >>>>>> Zdenko >>>>>> >>>>>> On Thu, Jun 4, 2015 at 1:10 PM, supriya Das <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hello everybody, >>>>>>> >>>>>>> When i am trying to use *tesseract::ChoiceIterator *bellow error >>>>>>> is occurring. Kindly help me. >>>>>>> >>>>>>> >>>>>>> " *LNK2019: unresolved external symbol "public: __thiscall >>>>>>> tesseract::ChoiceIterator::~ChoiceIterator(void)" >>>>>>> (??1ChoiceIterator@tesseract@@QAE@XZ) referenced in function _wmain"* >>>>>>> >>>>>>> I included following library >>>>>>> libtesseract302.lib >>>>>>> libtesseract302d.lib >>>>>>> >>>>>>> My code is as follow, >>>>>>> >>>>>>> tesseract::ResultIterator* ri = api->GetIterator(); >>>>>>> tesseract::PageIteratorLevel level = tesseract::RIL_SYMBOL; >>>>>>> if(ri != 0) { >>>>>>> do { >>>>>>> const char* symbol = ri->GetUTF8Text(level); >>>>>>> float conf = ri->Confidence(level); >>>>>>> if(symbol != 0) { >>>>>>> printf("symbol %s, conf: %f", symbol, conf); >>>>>>> bool indent = false; >>>>>>> tesseract::ChoiceIterator ci(*ri); >>>>>>> do { >>>>>>> if (indent) printf("\t\t "); >>>>>>> printf("\t- "); >>>>>>> const char* choice = ci.GetUTF8Text(); >>>>>>> printf("%s conf: %f\n", choice, ci.Confidence()); >>>>>>> indent = true; >>>>>>> } while(ci.Next()); >>>>>>> } >>>>>>> printf("---------------------------------------------\n"); >>>>>>> delete[] symbol; >>>>>>> } while((ri->Next(level))); >>>>>>> } >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "tesseract-ocr" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> Visit this group at http://groups.google.com/group/tesseract-ocr. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/tesseract-ocr/2f71b417-adde-483d-98cc-11e394bb1d1a%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/2f71b417-adde-483d-98cc-11e394bb1d1a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/3ee7fad0-3fa6-430b-a083-e81fbdd5ddd5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

