Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am converting c++ 32 bit project exe to x64 bit exe. In my project I used OpenCV, Leptonica and Tesseract-OCR c++ libraries. But for Leptonica and Tesseract, I do not get x64 bit DLL & LIB files, even on internet also. Due to this Linking error occured while project build.

So, how do I get c++ x64 bit DLL & LIB files of Leptonica & Tesseract-OCR?


I took full source code of Leptonica library. Then build it in visual studio with x64 bit environment. It build successfully and its x64 bit DLL & LIB files are working.
Then I took full source code of Tesseract-OCR library and build it in VS2008 for x64 bit, but it gives lots of linking error[LNK2001 : unresolved external symbol].
Same Tesseract source code in VS2008 for 32 bit is working fine.
Please help.
Posted
Updated 26-Jun-14 18:51pm
v3
Comments
Sergey Alexandrovich Kryukov 25-Jun-14 2:42am    
You can compile them by using a compiler. :-)
—SA
RupeshMote 25-Jun-14 3:03am    
Thanks
Sergey Alexandrovich Kryukov 25-Jun-14 3:09am    
You are very welcome. :-)
—SA
RupeshMote 27-Jun-14 0:13am    
I took full source code of Leptonica library. Then build it in visual studio with x64 bit environment. It build successfully and its x64 bit DLL & LIB files are working.
Then I took full source code of Tesseract-OCR library and build it in VS2008 for x64 bit, but it gives lots of linking error[LNK2001 : unresolved external symbol].
Same Tesseract source code in VS2008 for 32 bit is working fine.
Please help.
Sergey Alexandrovich Kryukov 27-Jun-14 1:10am    
Well... Tesseract is pretty ugly, as far as I can remember. Good open-source OCR is hard to find; and all I ever saw is pretty much obsolete. There are some more modern articles on CodeProject, some are very good (usually based on neural networks), they allow for recognition of handwritten text, but they all need further work to make them into complete OCR, which is quite doable, it just needs time...
—SA

1 solution

Both libraries are open-source. When the authors of open-source product publish their code, they don't have to provide the build of it for all possible platforms and CPU architectures. And you should not try to find them. I always advise to use open-source products in the form of source code. How? I answered in my comment to the question.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900