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

Reply via email to