Given the changes described, Tesseract 2.03 runs fine on XP64, compiled for both x86 and x64 target CPUs. It works standalone, and from the IDE debugger with browse information.
64-bit CPUs all run 32-bit code transparently. Every Microsoft 64-bit OS will run 32-bit programs. I did build Tesseract-2.03 for x64 without any problems, but I can't link that with LIBTIFF, so I use x86/32bit. Running 32-bit costs some memory performance, maybe a few microseconds per scan, but it lets me use 32-bit LIBTIFF binaries. Server 2003-x64 is like XP-64, but with much stronger security defaults. There may be a security issue. On Mon, May 11, 2009 at 11:02 PM, k_a_bahar <[email protected]> wrote: > > Tessnet2 project builds on Windows x64 (using Visual Studio 2005) > without a problem but you can't run it there. > > On May 12, 6:15 am, wayne isaacs <[email protected]> wrote: > > I built and tested Tesseract 2.03 on Windows XP-64, with VS2008, .NET3.5 > > sp1., using Visual Studio's conversion wizard on the solution file, and > > building 32-bit. > > 1. The build fails until you comment out : //#define vsnprintf _vsnprintf > .. > > in ccutil/platform.h and viewer/svutil.h. > > 2. The debug version fails at runtime unless you disable the > > read_variables(const char*filename) function in cutil/variables.cpp, > because > > the path algorithm for tessdata directory is inconsistent in its usage of > > the TESSDATA_PREFIX environment setting. > > 3. To avoid 1800 warnings, define _CRT_SECURE_NO_WARNINGS, and disable > > specific warnings 4244;4305;4005;4018;4996;4800. > > > > On Mon, May 11, 2009 at 11:14 AM, k_a_bahar <[email protected]> > wrote: > > > > > When you open the project you can see that the platform is Win32 and I > > > don't know if it is possible to change it to x64 like that. > > > What you say is true for projects written for .NET, and when you set a > > > project to compile on "Any CPU" it should run on both x64 and x86 > > > without a problem. > > > > > On May 11, 9:09 pm, Aidan Ryan <[email protected]> wrote: > > > > A guess (without actually loading the project) is that the project is > > > > set to compile for "Any CPU" which can cause problems on x64 systems. > > > > You need to open the project and set it to build for x86 explicitly. > > > > > > On May 4, 1:59 pm, k_a_bahar <[email protected]> wrote: > > > > > > > I developed an application on Vista x86 with tessnet2 and > everything > > > > > works as expected but when moved it to Widows Server 2003 x64 I'm > > > > > getting "Could not load file or assembly 'tessnet2' or one of its > > > > > dependencies." error. > > > > > I installed "Microsoft Visual C++ 2005 SP1 Redistributable Package" > > > > > but didn't fix the problem. > > > > > Does tesseract work on Windows x64 at all? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

