On Wed, Jan 30, 2013 at 1:07 PM, Nada Feteha <[email protected]> wrote:
> Hi,
> I try to make code work but in this line  printf("Leptonica version:
> %s\n",getLeptonicaVersion());
> I got this error Error    1    error LNK2019: unresolved external symbol
> _getLeptonicaVersion referenced in function _main
> C:\BuildFolder3\OCR_project\OCR_project\OCR_project.obj
>
> I download leptonica1.68 and build it as this link tell me
> http://trial-leptonica-docs.googlecode.com/hg-history/e2805a733dc66d535155e2ba67eeb96877ee5dbb/_build/html/vs2008/building-leptonlib.html

First of all the "official" unofficial documentation for building
Leptonica using VS2008 is at [1] (I should probably remove the
googlecode repository, I had forgotten about it).

Secondly, while it probably doesn't matter too much you should
normally free the memory returned to you by getLeptonicaVersion()
using lept_free().

Seems to me you have a basic link issue. Try reading [1] thoroughly (I
honestly don't remember what changes there were from the docs you
read).

[1] http://tpgit.github.com/UnOfficialLeptDocs/index.html

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to