AnantLabs / tesseractdotnet

Automatically exported from code.google.com/p/tesseractdotnet
0 stars 0 forks source link

x64 version? #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Tesseract Net Wrapper x64

What version of the product are you using? On what operating system?
Win 7 x64

Please provide any additional information below.

Hello all,

Has anyone succeeded in compiling this project as a native x64 dll?
Is it possible?

The unfortunate situation is the current dll is compiled as x86 so
it cannot be included in an x64/any CPU project in windows.

Thanks for any assistance

Original issue reported on code.google.com by andrew.k...@gmail.com on 6 Sep 2011 at 12:55

GoogleCodeExporter commented 9 years ago
It's not that much a question whether the wrapper supports x64, it's only about 
tesseract supporting it. The code that acts as the wrapper itself is universal 
enough to be used in both situations. I haven't tried to convert tesseract to 
x64 myself, mainly because i see leptonica libs only for x86, and there might 
be other additional dependencies of some external libs that tesseract uses 
which are possibly x86-only. I believe it's basically possible to compile all 
libs also to x64 with a lot of work, but it still wouldn't guarantee you a 
successful build of tesseract to x64. Also, no version of C++ supports "Any 
CPU" compilation, it's only for .NET managed CLR languages like VB.NET and C#.

Original comment by tanelte...@gmail.com on 8 Sep 2011 at 10:08

GoogleCodeExporter commented 9 years ago
Hi tanel

That is what I thought too, the underlying libraries are x86 specific.
It is a pity as a I had great use if the wrapper could have been included in
my x64 project.

Thanks again for taking the time to comment

Original comment by andrew.k...@gmail.com on 9 Sep 2011 at 11:23