On Mon, Mar 20, 2017 at 12:19 PM, Kazi Moinul Hossain <[email protected] > 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, tesseract sample.tif sample, it is showing "Illegeal > instruction (core dumped)". > Ultimately, i became unable to compile the C++ program as mentioned here > before.After compilation command, it is showing, "fatal error: baseapi.h: > No such file or directory" > What could be the soultion? Please help > IMO there is only one solution if you want to start programming - take some course and learn something about your OS and programming - if you are not able to handle error like "fatal error: baseapi.h: No such file or directory" by yourself, you are in troubles. If are serious about programming you should also learn how to debug program e.g. find where (and maybe why) there is " illegal instruction(core dumped)". Unless your tesseract installation is not working properly (at least with images in test folder) do not even think about trying your compile own program. There could be several reason for it, but you do not provide details, so it is no possibility to guide you. On Friday, 17 March 2017 19:41:20 UTC+6, shree wrote: >> >> sudo apt-get remove libleptonica-dev libleptonica >> >> >> ShreeDevi >> ____________________________________________________________ >> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >> >> On Fri, Mar 17, 2017 at 7:09 PM, ShreeDevi Kumar <[email protected]> >> wrote: >> >>> try >>> >>> sudo apt-get remove libleptonica-dev >>> >>> ShreeDevi >>> ____________________________________________________________ >>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >>> >>> On Fri, Mar 17, 2017 at 6:06 PM, Kazi Moinul Hossain <[email protected] >>> > wrote: >>> >>>> 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. >>>>> >>>>> 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 >>>>> ./configure >>>>> LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make >>>>> sudo make install >>>>> sudo ldconfig >>>>> make training >>>>> sudo make training-install >>>>> >>>>> -- >>>> 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/ms >>>> gid/tesseract-ocr/14390a99-0423-46ff-9501-56bbeb41d794%40goo >>>> glegroups.com >>>> <https://groups.google.com/d/msgid/tesseract-ocr/14390a99-0423-46ff-9501-56bbeb41d794%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/ms > gid/tesseract-ocr/e2cc6ecb-17d8-48df-8262-d3222cbf69bd%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/e2cc6ecb-17d8-48df-8262-d3222cbf69bd%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/CAJbzG8xteiqhbXOK68fiOoO4ovOM3qO0fHcbKmMePA4dEvv_qA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

