On Thursday, February 9, 2012 5:47:17 AM UTC+8, zdpo wrote: > > Hi, > > Have a look at https://github.com/zdenop/tesseract-mingw > > I was/am testing building tesseract by cmake... just with intention to > have one build systems for linux, windows and possibly Mac (but I have no > Mac computer for testing ;-) > > I created script (CMakeLists.txt) that was able to compile tesseract > (3.02) on linux and windows (mingw32 and nmake from vs2008). > > BUT mingw version was not able to run ("The application failed to > initialize properly (0xc000007b)...". When I search why, I identify there > is problem with usage leptonica library (build by VS2008) in mingw... > > Today I remembered that in my older tests ( > https://github.com/zdenop/QT-Leptonica) Qt Creator was able to use > leptonica (VS2008 build) in mingw without problem. So I tried to compile > project in QT Creator and it works (also outside QT Creator) ;-) I guess it > is should be question of some mingw options (help is welcomed). > > Result can be found in above mentioned repository. I had not time for > testing - I just tried to use tesseract.exe and create test/example for > using tesseract c++ library. > > Zdenko > > Hi, Zdenko, thank you very much. I just clone your github, and I use Codeblocks and MinGW 4.6.3 to create a very simple console project, and it works FINE!! Thanks.
@Wil Hadden: Thanks for sending your build scripts for android(mingw), but I'm not a makefile or autotools guru, so I can't manually change the files for native mingw. Anyway, very thanks to your help. Another thing about Zdenko's package, I see some files like "libgcc_s_dw2-1.dll" and "libstdc++-6.dll", I'm not sure which mingw version did you use? The official mingw 4.6.x or TDM-GCC or other mingw version? I believe that if you add some compiler options, like "static" or other options, you can build the "libtesseract_302.dll" with statically link to gcc and libstdc++ libraries, so, these dll dependencies can be removed. Thank you all! Asmwarrior ollydbg from codeblocks' forum -- 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

