[tesseract-ocr] Re: Using tesseract with VS2012. HELP PLEASE

2015-01-28 Thread juan peralta
El sábado, 24 de noviembre de 2012, 19:30:25 (UTC-6), Minjie Zheng escribió: Okay, I have spent literally two days trying to get tesseract to work in VS2012. No matter what I do, my programs would not execute. It compiles without error. It always say The application was unable to start

Re: [tesseract-ocr] Re: Using tesseract with VS2012. HELP PLEASE

2015-01-28 Thread zdenko podobny
On Wed, Jan 28, 2015 at 5:26 PM, juan peralta peralta11...@gmail.com wrote: El sábado, 24 de noviembre de 2012, 19:30:25 (UTC-6), Minjie Zheng escribió: Okay, I have spent literally two days trying to get tesseract to work in VS2012. No matter what I do, my programs would not execute. It

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-29 Thread Matthias Hillert
It worked for me when I set the Plattformtoolset (I have german version) under Project Settings - Konfiguration Settings to Visual Studio 2010. Am Sonntag, 25. November 2012 02:30:25 UTC+1 schrieb Minjie Zheng: Okay, I have spent literally two days trying to get tesseract to work in VS2012.

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-28 Thread zdenko podobny
I do not have experience with vs2012 but I would suggest: 1. ask for help on Microsoft Developer Network - they should provide you (at least general) instruction about this topic (maybe there is compatibility option) 2. Try to go step by step with vs2012 build: 1. if you have

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-27 Thread Minjie Zheng
Yeah I get the same errors. It's because the dlls are compiled with vs2008 so they are looking for msvcr90.dll, which is msvcr100.dll for vs2010 and msvcr110.dll for vs2012. I tried recompiling libtesseract302.lib with vs2012. It compiled fine and my project can compile. But it again won't

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-27 Thread zdenko podobny
And what about installing Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)? In release notes[1] it is suggested for executables... [1] *https://groups.google.com/d/topic/tesseract-ocr/EXyGqT9osrw/discussion* * * On Tue, Nov 27, 2012 at 5:15 AM, Minjie Zheng zmin...@gmail.com wrote:

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-27 Thread Minjie Zheng
I can run the provided executables just fine since I do have the 2008 Redistributable. But I'm trying to access tesseract's api for my own application, which requires linking to the libtesseract302.dll and liblipt168.dll or the static linked libraries. The problem is that my application is

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-25 Thread Minjie Zheng
Update on this, it seems like I wasn't including enough libs for static linking. But even when I run the APIExample under LIB DEBUG with all the libs in the depencies, I get the following errors: Error 1 error LNK2001: unresolved external symbol __declspec(dllimport) public: __thiscall

Re: Using tesseract with VS2012. HELP PLEASE

2012-11-25 Thread Bln
I'm having the same problem on VS2012 and VS2010. The linker errors look like the standard library isn't properly linked, but I have no idea why, the settings look right to me. It compiles fine in DLL mode but then the exe wont start with the error The application was unable to start correctly

Using tesseract with VS2012. HELP PLEASE

2012-11-24 Thread Minjie Zheng
Okay, I have spent literally two days trying to get tesseract to work in VS2012. No matter what I do, my programs would not execute. It compiles without error. It always say The application was unable to start correctly (0xc0150002). Using dependency walker, I found that both libtesseract and