Thanks for your answer.
I already read and have a look on this project.
Without modification this project compil and run but when I modify it
by adding:

tesseract::ResultIterator *ri;
ri=api.GetIterator();
char * out2 = ri->GetUTF8Text(tesseract::RIL_SYMBOL);

and when I compil his project with this modification I have the same
error :

error LNK2019: unresolved external symbol "public: char * __thiscall
tesseract::ResultIterator::GetUTF8Text(enum
tesseract::PageIteratorLevel)const " (?
GetUTF8Text@ResultIterator@tesseract@@QBEPADW4PageIteratorLevel@2@@Z)
referenced in function _main

As his package don't have .lig and dll file I use mine... and I think
that the problem come from my files.
Is there a package available with all lib and dll? I never find
something like that...


On 9 fév, 20:38, zdenko podobny <[email protected]> wrote:
> On Thu, Feb 9, 2012 at 11:26 AM, TyDam' <[email protected]> wrote:
> > Dear all,
> > I succeed to use tesseract with good recognition rate. So first,
> > thanks a lot for this project!
>
> > But I’m  face to an issue when I try to use tesseract::ResultIterator
> > and tesseract::ChoiceIterator
>
> > I use visual 2010 and trying to do a MFC dll using tesseract v3.01
>
> > Did you do it by yourself or do you try to use Tom Powers contribution[1]?
>
> If you made MFC dll by yourself than please check first Tom package.
>
> Zdenko
>
> [1]https://groups.google.com/group/tesseract-dev/msg/a59952174f78c000
>
>
>
>
>
>
>
> > I have following link error:
>
> > error LNK2001: unresolved external symbol "public: virtual __thiscall
> > tesseract::ResultIterator::~ResultIterator(void)" (??
> > 1ResultIterator@tesseract@@UAE@XZ)
> > error LNK2001: unresolved external symbol "public: __thiscall
> > tesseract::ChoiceIterator::ChoiceIterator(class
> > tesseract::ResultIterator const &)" (??
> > 0ChoiceIterator@tesseract@@QAE@ABVResultIterator@1@@Z)
> > error LNK2001: unresolved external symbol "public: char const *
> > __thiscall tesseract::ChoiceIterator::GetUTF8Text(void)const " (?
> > GetUTF8Text@ChoiceIterator@tesseract@@QBEPBDXZ)
> > error LNK2001: unresolved external symbol "public: char * __thiscall
> > tesseract::ResultIterator::GetUTF8Text(enum
> > tesseract::PageIteratorLevel)const " (?
> > GetUTF8Text@ResultIterator@tesseract@@QBEPADW4PageIteratorLevel@2@@Z)
> > error LNK2001: unresolved external symbol "public: __thiscall
> > tesseract::PageIterator::PageIterator(class tesseract::PageIterator
> > const &)" (??0PageIterator@tesseract@@QAE@ABV01@@Z)
> > error LNK2001: unresolved external symbol "public: virtual __thiscall
> > tesseract::PageIterator::~PageIterator(void)" (??
> > 1PageIterator@tesseract@@UAE@XZ)
>
> > In my project properties, I have added the following lib:
>
> > textord.lib;ccmain.lib;wordrec.lib;classify.lib;dict.lib;viewer.lib;ccutil.lib;ccstruct.lib;cutil.lib;cube.lib;image.lib;libtesseract.lib;liblept.lib
>
> > Can someone help me please?
> > Thanks a lot
> > Dam’
>
> > PS: Sorry for my English, I hope you will understand me ;-)
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "tesseract-ocr" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/tesseract-ocr?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to