Hi Nick, Thank you.
I succeeded to build leptonica and tesseract r724 on Ubuntu using the configure with variables your wrote and even run simple text detection. The problem at my place is to build tesseract and leptonica also for Windows using mingw. I need or find the .dll / ./lib for mingw x64 and x86 platforms or to build by myself on machine , but when I built leptonica I succeed somehow to finish with ./configure on tesserace but when I run make on tesseract under msys+mingw I got a lot of "undefined reference..." both to leptonica functions and another. I am still trying to solve the issue. Any help will be very appreciated. Kind Regards, Paul On Monday, 30 April 2012 11:12:09 UTC+3, Nick White wrote: > > On Sun, Apr 29, 2012 at 07:12:11AM -0700, Pavel Mazniker wrote: > > How to make ./configure to find leptonica on windows when building > > tesseract using mingw+msys ? > > I'm not very familiar with Windows or mingw, but I know that when > installing leptonica in an alternative place on GNU/Linux I had to > run ./configure like this: > > LIBLEPT_HEADERSDIR=$HOME/local/include ./configure \ > --with-extra-libraries=$HOME/local/lib > > Where $HOME/local/lib is the path to the liblept library files, and > $HOME/local/include is the path to the leptonica header files. > > Nick > On Monday, 30 April 2012 11:12:09 UTC+3, Nick White wrote: > > On Sun, Apr 29, 2012 at 07:12:11AM -0700, Pavel Mazniker wrote: > > How to make ./configure to find leptonica on windows when building > > tesseract using mingw+msys ? > > I'm not very familiar with Windows or mingw, but I know that when > installing leptonica in an alternative place on GNU/Linux I had to > run ./configure like this: > > LIBLEPT_HEADERSDIR=$HOME/local/include ./configure \ > --with-extra-libraries=$HOME/local/lib > > Where $HOME/local/lib is the path to the liblept library files, and > $HOME/local/include is the path to the leptonica header files. > > Nick > On Monday, 30 April 2012 11:12:09 UTC+3, Nick White wrote: > > On Sun, Apr 29, 2012 at 07:12:11AM -0700, Pavel Mazniker wrote: > > How to make ./configure to find leptonica on windows when building > > tesseract using mingw+msys ? > > I'm not very familiar with Windows or mingw, but I know that when > installing leptonica in an alternative place on GNU/Linux I had to > run ./configure like this: > > LIBLEPT_HEADERSDIR=$HOME/local/include ./configure \ > --with-extra-libraries=$HOME/local/lib > > Where $HOME/local/lib is the path to the liblept library files, and > $HOME/local/include is the path to the leptonica header files. > > Nick > On Monday, 30 April 2012 11:12:09 UTC+3, Nick White wrote: > > On Sun, Apr 29, 2012 at 07:12:11AM -0700, Pavel Mazniker wrote: > > How to make ./configure to find leptonica on windows when building > > tesseract using mingw+msys ? > > I'm not very familiar with Windows or mingw, but I know that when > installing leptonica in an alternative place on GNU/Linux I had to > run ./configure like this: > > LIBLEPT_HEADERSDIR=$HOME/local/include ./configure \ > --with-extra-libraries=$HOME/local/lib > > Where $HOME/local/lib is the path to the liblept library files, and > $HOME/local/include is the path to the leptonica header files. > > Nick > -- 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

