Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-21 Thread Kazi Moinul Hossain
Finally, i solved it. Now after compilation, i am getting the correct version of leptonica and tesseract. *Tesseract version 4.00.00alphaleptonica version leptonica-1.74* I uninstalled libleptonica-dev and libtesseract-dev and again compiled. It ran with correct output. Thanks everyone in this

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-20 Thread Zdenko Podobný
On Mon, Mar 20, 2017 at 12:19 PM, Kazi Moinul Hossain wrote: > I uninstalled all the previous leptonica and tesseract, installed all the > new stuffs. When i am typing tesseract -v, it is showing properly the > leptonica and tesseract version. > But When i am typing,

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-20 Thread Kazi Moinul Hossain
After typing, ldd /usr/local/bin/tesseract, i got this, linux-gate.so.1 => (0xb77d7000) libtesseract.so.4 => /usr/local/lib/libtesseract.so.4 (0xb72f4000) liblept.so.5 => /usr/local/lib/liblept.so.5 (0xb702c000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6eb4000)

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-20 Thread ShreeDevi Kumar
you have not responded to zdenko's suggestion to provide output of ldd tesseract or ldd /usr/local/bin/tesseract (use the location of tesseract, which you can find by which tesseract) ShreeDevi भजन - कीर्तन - आरती @

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-20 Thread Kazi Moinul Hossain
I uninstalled all the previous leptonica and tesseract, installed all the new stuffs. When i am typing tesseract -v, it is showing properly the leptonica and tesseract version. But When i am typing, tesseract sample.tif sample, it is showing "Illegeal instruction (core dumped)". Ultimately, i

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-20 Thread Kazi Moinul Hossain
I uninstalled all the previous leptonica and tesseract, installed all the new stuffs. When i am typing tesseract -v, it is showing properly the leptonica and tesseract version. But When i am typing, tesseract sample.tif sample, it is showing "Illegeal instruction (core dumped)". Ultimately, i

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread ShreeDevi Kumar
sudo apt-get remove libleptonica-dev libleptonica ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Fri, Mar 17, 2017 at 7:09 PM, ShreeDevi Kumar wrote: > try > > sudo apt-get remove

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread ShreeDevi Kumar
try sudo apt-get remove libleptonica-dev ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Fri, Mar 17, 2017 at 6:06 PM, Kazi Moinul Hossain wrote: > how can i uninstall old leptonica fully? I

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread Kazi Moinul Hossain
how can i uninstall old leptonica fully? I am attempting with "sudo apt-get autoremove leptonica" and it is showing "unable to locate package" On Friday, 17 March 2017 17:56:13 UTC+6, shree wrote: > > I use the following batch files in the folders where I have cloned > tesseract and leptonica.

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread Kazi Moinul Hossain
I am reinstalling leptonica and tesseract and I will let inform afterwards. On Friday, 17 March 2017 18:03:25 UTC+6, shree wrote: > > Also you have not responded to zdenko's suggestion to provide output of > > ldd tesseract > > or > > ldd /usr/local/bin/tesseract > > > (use the location of

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread ShreeDevi Kumar
​>Is there anything more you did in the "src" and "prog" directory under leptonica folder like "make allheaders", "make xtractprotos"? No.​ -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread Kazi Moinul Hossain
Thanks a lot shree! Is there anything more you did in the "src" and "prog" directory under leptonica folder like "make allheaders", "make xtractprotos"? On Friday, 17 March 2017 17:56:13 UTC+6, shree wrote: > > I use the following batch files in the folders where I have cloned > tesseract and

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread ShreeDevi Kumar
Also you have not responded to zdenko's suggestion to provide output of ldd tesseract or ldd /usr/local/bin/tesseract (use the location of tesseract, which you can find by which tesseract) -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread ShreeDevi Kumar
Your problem could be that you have some old version of leptonica installed on your system. Uninstall and remove all old versions and then try. ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Fri, Mar 17, 2017 at 5:25

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread ShreeDevi Kumar
I use the following batch files in the folders where I have cloned tesseract and leptonica. 1. leptonica #!/bin/bash git pull origin ./autobuild #./configure --disable-dependency-tracking ./configure make sudo make install sudo ldconfig cd prog make cd .. 2. tesseract #!/bin/bash ./autogen.sh

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread Zdenko Podobný
Do you understand what you did with this commnads? Zdenko On Fri, Mar 17, 2017 at 11:37 AM, Kazi Moinul Hossain wrote: > While i am trying to ocr any image file by "tesseract image.tif image -l > eng", i am encountered with another exception like "illegal >

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread Kazi Moinul Hossain
Can anyone please help me to figure out if there is any error in my installation commands and what will be the solution? On Thursday, 16 March 2017 15:33:33 UTC+6, zdenop wrote: > > Try to ocr some image file. If it works than please povide output of > ldd tesseract > > > Zdenko > > On Thu, Mar

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-17 Thread Kazi Moinul Hossain
While i am trying to ocr any image file by "tesseract image.tif image -l eng", i am encountered with another exception like "illegal instruction(core dumped)" I don't understand where actually is the problem. For your better understanding, i am providing here with the installation commands

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-16 Thread Zdenko Podobný
Try to ocr some image file. If it works than please povide output of ldd tesseract Zdenko On Thu, Mar 16, 2017 at 10:11 AM, Kazi Moinul Hossain wrote: > Tesseract installation source- https://github.com/tesseract- > ocr/tesseract.git > Leptonica installation souce-

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-16 Thread ShreeDevi Kumar
Please see https://github.com/tesseract-ocr/tesseract/issues/233 ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Thu, Mar 16, 2017 at 2:41 PM, Kazi Moinul Hossain wrote: > Tesseract

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-16 Thread Kazi Moinul Hossain
Tesseract installation source- https://github.com/tesseract-ocr/tesseract.git Leptonica installation souce- https://github.com/DanBloomberg/leptonica.git After typing tesseract -v, following information is being shown: *tesseract 4.00.00alpha-337-g7c27088 leptonica-1.74.1 libjpeg 8d

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-16 Thread ShreeDevi Kumar
You did not mention from where you installed leptonica and tesseract. what info do you see when you type tesseract -v ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Thu, Mar 16, 2017 at 2:21 PM, Kazi Moinul Hossain

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-16 Thread Kazi Moinul Hossain
Should i reinstall leptonica & tesseract ? On Wednesday, 15 March 2017 23:59:19 UTC+6, zdenop wrote: > > It seems that your (leptonica?) installation is corrupted. Your example > works for me (for 4.00 and 3.05): > > zdeno@level2:~/test> g++ sample.cpp -o sample -llept -ltesseract >

Re: [tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-15 Thread Zdenko Podobný
It seems that your (leptonica?) installation is corrupted. Your example works for me (for 4.00 and 3.05): zdeno@level2:~/test> g++ sample.cpp -o sample -llept -ltesseract zdeno@level2:~/test> ./sample Tesseract-ocr version: 4.00.00alpha Leptonica version: leptonica-1.74 Zdenko On Wed, Mar 15,

[tesseract-ocr] Compilation problem for tesseract 4.00.00

2017-03-15 Thread Kazi Moinul Hossain
Hi everyone, I have installed leptonica 1.74.1 and then tesseract 4.00.00. After that, i have created a C++ program stated below which ultimately will show the leptonica and tesseract version installed in the system. *#include