I can't find file section. That file is already deleted? 2007년 12월 18일 화요일 오후 8시 53분 45초 UTC+9, lakshmesha 님의 말: > > 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 site http://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<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<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 <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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ocropus/c2d32a57-e22a-4431-bf65-bf2d65500b34%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
