On Sun, Feb 12, 2012 at 6:40 AM, asmwarrior <[email protected]> wrote:

>
> **
>
> On Thursday, February 9, 2012 5:47:17 AM UTC+8, zdpo wrote:
>>
>> Hi,
>>
>> Have a look at 
>> https://github.com/zdenop/**tesseract-mingw<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 <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.
>

   1. As I mentioned I build it within QT Creator (2.3.0) that comes with
   mingw (3.15.2 according _mingw.h)
   2. I am not sure if you really need libgcc_s_dw2-1.dll and
   libstdc++-6.dll. But when I am set empty path (SET path="") on windows to
   see if my test application do not use something else, it asked for these
   dll. So I you have installed mingw it should use dll from your
   installation...
   3. This is experimental build system for tesseract ;-) There is a lot of
   things that should be done not only static linking... Improvement are
   welcomed. But for me this is just alternative for testing if VS2008 build
   system is correct...

 Zdenko

>
> 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
>

-- 
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

Reply via email to