Thanks for the reply, In my project I have tried all 3 DLLs in all 
potential folders as follows:

D:\csharp\repos\cwtess4
|__ D:\csharp\repos\cwtess4\cwtess4
    |__ liblept1741.dll
    |__ libtesseract400.dll
    |__ Tesseract.dll
    |__ D:\csharp\repos\cwtess4\cwtess4\bin
        |__ liblept1741.dll
        |__ libtesseract400.dll
        |__ Tesseract.dll
        |__ D:\csharp\repos\cwtess4\cwtess4\bin\x64
            |__ liblept1741.dll
            |__ libtesseract400.dll
            |__ Tesseract.dll
            |__ D:\csharp\repos\cwtess4\cwtess4\bin\x64\Release
                |__ liblept1741.dll
                |__ libtesseract400.dll
                |__ Tesseract.dll
            |__ D:\csharp\repos\cwtess4\cwtess4\bin\x64\Debug
                |__ liblept1741.dll
                |__ libtesseract400.dll
                |__ Tesseract.dll

This exception appears at runtime:
System.Reflection.TargetInvocationException: 'Exception has been thrown by 
the target of an invocation.'
Inner Exception
DllNotFoundException: Failed to find library "liblept1741.dll" for platform 
x64.

I see on the page you mention that a common reason might be "The Visual 
Studio 2015 C++ runtime" not being installed, but I am using Visual Studio 
2017 which doesn't allow me to install the earlier version of the runtime.


On Thursday, January 11, 2018 at 8:54:19 PM UTC, THintz wrote:
>
> See https://github.com/charlesw/tesseract/wiki/Error-2
>>>
>>
>  The Tesseract.dll goes in the folder with your binary and the other two 
> dlls go in either an x64 or an x86 folder below that.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/9e923af7-d81c-4e7a-8424-dc0dfe3539e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to