Dragon,
in continuation of my posting, I reproduced old posts**  below for your
refrerence:  Trust  it will help you to build in  Windows platform.
with best wishes,
-sriranga(76yrsold)

** ( copy of old posts)
On Dec 20, 9:12 am, "bright.dna" <[EMAIL PROTECTED]> wrote:
> Thanks Lakshmesha for the instructions and upload.
> Would you be able to upload the compiled ocrocmd.exe and any compiled
> dll needed by it?
> I would appreciate it and I'm sure other users would find it useful.
>
> Thanks.
>
> On Dec 18, 6:53 am, lakshmesha <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >  I have uploaded a new zip(ocropus.zip) file to the files section. I
> > was able to generate the ocrocmd.exe in visual studio.
>
> > Building Ocropus in Microsoft Visual Studio
> > ===========================================
>
> > 1) Download the ocropus from sitehttp://code.google.com/p/ocropus/source
> > to C:\Ocropus_project\Ocropus.
>
> > 2)External dependencies of Ocropus are
> >  a> Tessaract    ->http://code.google.com/p/tesseract-ocr/source.
> >  b> libpng 1.2.8 -> Download link is
> >                           (http://sourceforge.net/project/
> > showfiles.php?group_id=23617&package_id=16183).
> >                           Download the file libpng-1.2.8.exe
> >  c> zlib123      -> Download link is (http://sourceforge.net/project/
> > showfiles.php?group_id=5624). Download the file
> >                           zlib123-dll.zip
> >  d> jpeglib      -> Download link is (http://gnuwin32.sourceforge.net/
> > packages/jpeg.htm). Download the setup file.
>
> > 3) Installing the external dependencies.
> >  a> Tesseract: Ocropus is linked statically to tesseract. The the
> > project file to generate the tesseract dll has to
> >       modified accordingly to get a static lib file. Modify the
> > TessDll project setting so that static library is generated.
> >       Copy the dll and lib file to C:\Ocropus_project\Tesseract-2.01 .
> > Copy the Tessedata folder contents to
> >       C:\Ocropus_project\Ocropus\Debug.
>
> >  b> Libpng: Install the libpng using the setup file downloaded. Select
> > the install path as
> >      C:\Ocropus_project\libpng-1.2.8-lib\. Copy the file libpng13.dll
> > to folder C:\Ocropus_project\Ocropus\Debug
>
> >  c> jpeglib: Install the jpeglib using the setup file downloaded.
> > Select the install path as
> >      C:\Ocropus_project\jpeglib\. Copy the file jpeg62.dll to folder C:
> > \Ocropus_project\Ocropus\Debug
>
> >  d> zlib123: Install the jpeglib using the setup file downloaded.
> > Select the install path as
> >       C:\Ocropus_project\zlib123-dll\. Copy the file zlib1.dll to
> > folder C:\Ocropus_project\Ocropus\Debug
>
> >  Note: These files are always relative the to the ocropus directory.
> > Appropriate changes can be done if user wants
> >            it otherwise.
>
> > 4) Download the ocropus.zip file from the files section. Copy the zip
> > file inside to the ocropus diretory.
> >    Extract the zip file to the same directory.
>
> > 5) Use the Visual Studio project to build the project. There will be
> > an error regarding the version string while linking
> >    ocrocmd.exe. Make changes to ocrocmd.cc to generate the version
> > string. (This has to be done manually since
> >    version string is created by shellscript).  Sometime visual studio
> > complains about the debug folder cannot be
> >    created, if that is the case, remove the file named "debug"
> > created.
>
> >    The ocrocmd.exe is created in the folder C:\Ocropus_project\Ocropus
> > \Debug. It is a debug version.
>
> > Cheers,
> > Lakshmesha
>>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" 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/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to