how to compile tesseract for windows on a linux machine?

94 views
Skip to first unread message

Simon Eigeldinger

unread,
May 7, 2016, 3:43:45 AM5/7/16
to tesser...@googlegroups.com
Hi all,

I have now a different machine for building stuff based on Arch Linux.
Can i compile tesseract on linux for the windows machines i have?

Which dependencies do i need?
I never have done that and would be grateful for some hand holding.
I just compiled stuff on cygwin.

Thanks and greetings,
Simon

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

Simon Eigeldinger

unread,
May 11, 2016, 3:31:51 PM5/11/16
to tesser...@googlegroups.com
Hi all,


Just resending this message.
Maybe it has fallen under the radar of someone who might have some clues
for me.
sorry to the others who read this already.

S.J. Becker

unread,
May 12, 2016, 12:15:16 PM5/12/16
to tesseract-ocr
I did it successfully on Fedora 22. I installed mingw32 and a mingw32 package for all the dependencies except webp (even leptonica was precompiled). Then I compiled and installed webp and finally compiled tesseract. To compile each, make a build folder like: .../webp/build_win32 then run mingw32_configure. Then make and make install (for the library). Mingw32_configure looks for configure in the parent directory, sets up a special environment and then executes it (you execute autogen.sh first to create configure). I then copied API/tesseract to my windows machine and tried to run it. It would then complain about each DLL it needed. Back on the Linux machine I would dig out the DLL from the mingw32 root somewhere in /usr/ and copy it to the Windows machine. Once it gave a general error but it was still a missing DLL (libz I think). Once all the DLLs are there it works great.

ShreeDevi Kumar

unread,
May 14, 2016, 12:10:42 PM5/14/16
to tesser...@googlegroups.com
There is an archlinux distribution for tesseract - see https://www.archlinux.org/packages/community/i686/tesseract/

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com



--
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 tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
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/9d2596e1-cd31-4f2f-0bce-39faf1473d00%40vol.at.
For more options, visit https://groups.google.com/d/optout.

Simon Eigeldinger

unread,
May 14, 2016, 12:20:14 PM5/14/16
to tesser...@googlegroups.com
Hi,

I have tesseract running on my linux box.
i want to compile a windows version under linux.

greetings,
simon
--
Simon Eigeldinger
Follow me on Twitter: http://www.twitter.com/domasofan/
E-Mail: simon.ei...@vol.at
MSN: simon_ei...@hotmail.com
ICQ: 121823966
Jabber: doma...@andrelouis.com
Reply all
Reply to author
Forward
0 new messages