Not every commands though, but i understood the what i did with the 
commands. Is there any flaw in my commands?

On Friday, 17 March 2017 16:50:43 UTC+6, zdenop wrote:
>
> Do you understand what you did with this commnads?
>
> Zdenko
>
> On Fri, Mar 17, 2017 at 11:37 AM, Kazi Moinul Hossain <[email protected] 
> <javascript:>> 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 
>> instruction(core dumped)"
>> I don't understand where actually is the problem. For your better 
>> understanding, i am providing here with the installation commands below.
>> My system is ubuntu 16.04.
>>
>> Installation commands:
>>
>> *1. sudo apt-get install autoconf automake libtool*
>> *2. sudo apt-get install autoconf-archive*
>> *3. sudo apt-get install pkg-config*
>> *4. sudo apt-get install libpng12-dev*
>> *5. sudo apt-get install libjpeg8-dev*
>> *6. sudo apt-get install libtiff5-dev*
>> *7. sudo apt-get install zlib1g-dev*
>> *8. sudo apt-get install libicu-dev*
>> *9. sudo apt-get install libpango1.0-dev*
>> *10. sudo apt-get install libcairo2-dev*
>>
>> Leptonica installation commands:
>>
>> *1. sudo apt-get install libleptonica-dev*
>> *2. sudo apt-get install xzgv*
>> *3. git clone https://github.com/DanBloomberg/leptonica.git 
>> <https://github.com/DanBloomberg/leptonica.git>*
>> *4. cd leptonica/*
>> *5. autoreconf -vi*
>> *6. ./autobuild*
>> *7. ./configure*
>> *8. ./make-for-local*
>> *9. ./make-for auto*
>> *10. sudo make *
>> *11. sudo make install*
>> *12. cd src/*
>> *13. wget www.leptonica.com/source/xtractlib-1.5.tar.gz 
>> <http://www.leptonica.com/source/xtractlib-1.5.tar.gz>*
>> *14. tar -xvf xtractlib-1.5.tar.gz*
>> *15. sudo make allheaders*
>> *16. cd ../prog/*
>> *17. sudo make xtractprotos*
>> *18. cd ..*
>> *19. LD_LIBRARY_PATH = LD_LIBRARY_PATH:usr/local/lib*
>> *20. sudo ldconfig*
>>
>> Tesseract installation:
>>
>> *1. git clone https://github.com/tesseract-ocr/tesseract.git 
>> <https://github.com/tesseract-ocr/tesseract.git>*
>> *2. cd tesseract/*
>> *3. ./autogen.sh*
>> *4. ./configure --enable-debug*
>> *5. LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make*
>> *6. sudo make install*
>> *7. sudo ldconfig*
>> *8. sudo make training*
>> *9. sudo make training-install*
>>
>> 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 16, 2017 at 10:11 AM, Kazi Moinul Hossain <
>>> [email protected]> wrote:
>>>
>>>> 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 
>>>> (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 Found 
>>>> AVX Found SSE*
>>>> On Thursday, 16 March 2017 04:56:52 UTC-4, shree wrote:
>>>>>
>>>>> 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 <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> 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 
>>>>>>> zdeno@level2:~/test> ./sample  
>>>>>>> Tesseract-ocr version: 4.00.00alpha 
>>>>>>> Leptonica version: leptonica-1.74
>>>>>>>
>>>>>>>
>>>>>>> Zdenko
>>>>>>>
>>>>>>> On Wed, Mar 15, 2017 at 4:28 PM, Kazi Moinul Hossain <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> 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 
>>>>>>>> <https://www.facebook.com/hashtag/include?source=feed_text&story_id=1412066452188772><baseapi.h>#include<allheaders.h>#include
>>>>>>>>  
>>>>>>>> <sys/time.h>*
>>>>>>>>
>>>>>>>> *int main() {*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *tesseract::TessBaseAPI *myOCR = new 
>>>>>>>> tesseract::TessBaseAPI();printf("Tesseract-ocr version: 
>>>>>>>> %s\n",myOCR->Version());printf("Leptonica version: 
>>>>>>>> %s\n",getLeptonicaVersion());return 0;}*
>>>>>>>>
>>>>>>>> While compiling my code using following command
>>>>>>>>
>>>>>>>>
>>>>>>>> *$ g++ sample.cpp -o 
>>>>>>>> sample -I/usr/local/include/leptonica -I/usr/local/include/tesseract 
>>>>>>>> -llept 
>>>>>>>> -ltesseract*
>>>>>>>>
>>>>>>>> i am encountering following error,
>>>>>>>>
>>>>>>>> *//usr/local/lib/libtesseract.so: undefined reference to 
>>>>>>>> ‘pixReadFromMultipageTiff ‘*
>>>>>>>> *//usr/local/lib/libtesseract.so: undefined reference to 
>>>>>>>> ‘pixReadMemFromMultipageTiff ‘*
>>>>>>>> *collect2: error: Id returned 1 exit status*
>>>>>>>>
>>>>>>>> Again to mention, my tesseract version is 4.00.00 and leptonica 
>>>>>>>> version is 1.74.1.
>>>>>>>> Can anyone please help me to figure it out?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Kazi Moinul Hossain
>>>>>>>> Junior Software Developer
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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 https://groups.google.com/group/tesseract-ocr.
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/tesseract-ocr/be3b1def-f666-446a-ad16-211b4e3a8523%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/be3b1def-f666-446a-ad16-211b4e3a8523%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 https://groups.google.com/group/tesseract-ocr.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/tesseract-ocr/3ffe6af9-1b4b-4ee2-b988-fc4dd9aaf446%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/3ffe6af9-1b4b-4ee2-b988-fc4dd9aaf446%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 https://groups.google.com/group/tesseract-ocr.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tesseract-ocr/2b86d3a3-c4d0-424c-8bfb-1bc2bb9d7022%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tesseract-ocr/2b86d3a3-c4d0-424c-8bfb-1bc2bb9d7022%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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/699f7144-93e8-4d08-80b9-d10a3d0313ff%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/699f7144-93e8-4d08-80b9-d10a3d0313ff%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 https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/195ef20d-12db-473b-90db-56dabca0b4f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to