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] > <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/415ee0f4-39f1-4eb3-9e83-c46ac262cd73%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

