System.Diinotfoundexception: Failed to find library "leptonica-1.80.0.dll" for Platform x86

Asked

Viewed 91 times

2

I am developing an application in Winforms using OCR Tesseract, whenever I run the application on localhost works perfectly, but when I publish or send the folder bin to another computer appears the following error:

System.DIINotFoundException: Failed to find library "leptonica-1.80.0.dll" for platform x86.

in InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName)

in
Interop Runtimelmplementer.LeptonicaApiSignaturesInstance.Leptonica ApiSignaturesImplementation..ctor(LibraryLoader loader)
  1. I already tried to move to the folder myproject\packages\Tesseract.4.1.1\lib\net45\leptonika-1.80.0.dll unsuccessful.

  2. I’ve already checked the. NET versions

  3. I have tried installing the Tesseract package in the project bin folder

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.