Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86 problem (i think) #6

Open
RickardPettersson opened this issue May 27, 2012 · 3 comments
Open

x86 problem (i think) #6

RickardPettersson opened this issue May 27, 2012 · 3 comments

Comments

@RickardPettersson
Copy link

Hello, i whant to start with thank you for do tesseract-ocr for .Net 4.0!

Everything has worked good on my developer machine but now when i should publish the project that are a ASP.NET MVC 3 project on my webserver its seems that something is wrong.

I getting this error: http://pastebin.com/LUvBT6ak

I have the libtesseract.dll in the bin folder like it should on the server and everything looks like it should what i think, but when i searching for this problem on google i find this issue on the old project for tesseract-ocr on .Net: http://code.google.com/p/tesseractdotnet/issues/detail?id=1

And it looks like they think it is x86 vs x64 problem, so i should whant you to release the dll as a x86 and a x64 binaries or if you have any other idea?

I can not open the code becouse of i dont have c++ visual studio and stuff else i should try todo it my self.

@charlesw
Copy link
Owner

Yep you hit the nail on the head there mate, x64 isn't supported atm, it should be possible to add it as Tesseract-ocr does support x64 at least on linux anyway but it could be a while till I get time to add it. Your best bet if you still want to use this library is expose your the OCR functionality as a WCF service (or similar) run as a Windows Service.

@RickardPettersson
Copy link
Author

Sorry i just find that c++ runtime not was installed on my webserver.

@charlesw
Copy link
Owner

OK yes that would cause similar issues but you still shouldn't be able to run when the IIS App Pool is running in x64 mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants