On Fri, Jul 19, 2013 at 11:31 AM, Denis Gottardello < [email protected]> wrote:
> Hi everybody. I'm trying to use tesseract in a Qt 5.1 mingw program. On > Linux all works well but on Windows I have some problems. > I have compiled leptonica without problems but I obtain an error with > tesseract: > > > Denis@4ae2a7ce7cd1409 /c/home/denis/Cpp/tesseract-ocr > $ ./autogen.sh > Running aclocal > Running libtoolize > libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. > libtoolize: copying file `config/ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > Running autoheader > Running automake --add-missing --copy > Running autoconf > > All done. > To build the software now, do something like: > > $ ./configure [--enable-debug] [...other options] > $ make > > Denis@4ae2a7ce7cd1409 /c/home/denis/Cpp/tesseract-ocr > $ LDFLAGS="-no-undefined -Wl,--as-needed" \ > > ./configure --disable-tessdata-prefix > checking build system type... i686-pc-mingw32 > checking host system type... i686-pc-mingw32 > checking --enable-graphics argument... yes > checking --enable-embedded argument... no > checking --enable-visibility argument... no > checking --enable-multiple-libraries argument... no > checking whether to use tessdata-prefix... no > checking whether to enable debugging... no > checking for cl.exe... no > checking for g++... no > checking whether the C++ compiler works... no > configure: error: in `/c/home/denis/Cpp/tesseract-ocr': > configure: error: C++ compiler cannot create executables > See `config.log' for more details > > > > As you can see there are more errors. How can i do to solve the my problem? > > Maybe you can install mingw correct way;-) "checking for g++... no" is quite fatal information... You can follow my instruction[1]. I am testing also newer versions of libs, but I need some time for testing... [1] http://www.sk-spell.sk.cx/compiling-leptonica-and-tesseract-ocr-with-mingwmsys Zdenko -- -- 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 --- 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]. For more options, visit https://groups.google.com/groups/opt_out.

