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 problem to compile tiff library just skip it. Maybe it
would make more sense to include only one image library (e.g.
png) support
for leptonica, than try if it works (there are example program
in leptonica
source)
2. than build tesseract and test it
3. If it works that try to use tesseract library in you project...
--
Zdenko
On Tue, Nov 27, 2012 at 7:20 PM, Minjie Zheng <[email protected]> wrote:
> 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 built using msvcr110 while the dlls uses msvcr90, the
> conflict is what's preventing the application to run.
>
>
> On Tuesday, November 27, 2012 6:17:38 AM UTC-6, zdenop wrote:
>
>> 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 <[email protected]> wrote:
>>
>>> 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 start, with an error "configuration incorrect or something". i assume
>>> it's because there is a conflict since liblept is stil compiled with vs2008.
>>>
>>>
>>> On Sunday, November 25, 2012 11:04:09 AM UTC-6, Bln wrote:
>>>>
>>>> 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 (0xc0150002)." even after copying liblept168.dll,
>>>> libtesseract302.dll to the folder.
>>>>
>>> --
>>> 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
>>> tesseract-oc...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/tesseract-ocr?hl=en<http://groups.google.com/group/tesseract-ocr?hl=en>
>>>
>>
>>
>>
>> --
>> Zdenko
>>
> --
> 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
>
--
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