Hi Aaron,
I already tried that, but no luck.
I can load liblept1760, but not tesseract400,
using Native.loadLibrary("libtesseract400", com.sun.jna.Library.class)
I believe I have some conflict, but don't know which.
quarta-feira, 16 de Outubro de 2019 às 05:12:02 UTC+1, Aaron Stewart
escreveu:
>
> Make sure the Tesseract DLL is in the system PATH or java.library.path...?
>
>
> On Tuesday, October 15, 2019 at 9:56:14 AM UTC-6, Nuno Feliciano wrote:
>>
>> Hi,
>>
>> I am getting an error with Tess4j when I run it in a Windows Server 2008
>> R2 64 bit (tess4j-4.3.0).
>>
>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> at com.sun.jna.Native.open(Native Method)
>> at com.sun.jna.Native.open(Native.java:1759)
>> at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:260)
>> at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
>> at com.sun.jna.Library$Handler.<init>(Library.java:147)
>> at com.sun.jna.Native.loadLibrary(Native.java:412)
>> at com.sun.jna.Native.loadLibrary(Native.java:391)
>> at
>> net.sourceforge.tess4j.util.LoadLibs.getTessAPIInstance(LoadLibs.java:85)
>> at net.sourceforge.tess4j.TessAPI.<clinit>(TessAPI.java:42)
>> at net.sourceforge.tess4j.Tesseract.init(Tesseract.java:426)
>> at net.sourceforge.tess4j.Tesseract.getWords(Tesseract.java:693)
>>
>> I am using jdk1.8 64 bit
>> I don't have the error in a Windows 8.1 Enterprise 64 bit
>>
>> I have tried using dependecy walker to figure out which dlls I was
>> missing. I tried adding a few (dcomp,vcruntime140,msvcp140 and a few more),
>> but no luck.
>>
>> Can anyone help?
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/7450192d-792c-4116-8727-851d64c551e3%40googlegroups.com.