Andrewthe13th / Inventory_Kamera

Scans Genshin Impact characters, artifacts, and weapons from the game window into a JSON file.
MIT License
697 stars 121 forks source link

Failed to find library "leptonica-1.80.0.dll" for platform x86 #287

Open LeifaChan opened 2 years ago

LeifaChan commented 2 years ago

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

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

at InteropRuntimeImplementer.LeptonicaApiSignaturesInstance.LeptonicaApiSignaturesImplementation..ctor(LibraryLoader loader)

Cupcak3 commented 2 years ago

This file is unrelated to the Microsoft Visual C packages. It is provided already in the x64 and x84 folders with each download. Make sure all the contents from the zip are extracted.

rispi23 commented 2 years ago

I got the same problem and I compared the zip with the extracted files already, does anyone know if the original commenter got a solution?

Cupcak3 commented 2 years ago

The only solution is to verify you have the files under the x64 and x86 folders in the downloaded zip file. They are provided in the release zip folder and that zip must be extracted to a folder of your choosing on your computer

baaaaalllllsss commented 2 years ago

i have the same issue and i checked the x86 folder and it contains "leptonica-1.80.0.dll" and "tesseract41.dll", yet i still get "scan aborted" and "Failed to find library "leptonica-1.80.0.dll" for platform x86."

DoolenDev commented 2 years ago

any updates on this? I am having this same issue and cannot find anything.

Cupcak3 commented 2 years ago

https://github.com/Andrewthe13th/Inventory_Kamera/issues/400#issuecomment-1314615342 Please try see this comment thread