Re: [tesseract-ocr] Re: java.lang.UnsatisfiedLinkError in Windows Server 2008

2019-10-21 Thread Nuno Feliciano
It worked with 4.4.1. Thanks a lot!

On Fri, Oct 18, 2019, 00:50 Quan Nguyen  wrote:

> Can you try with version 4.3.1 or the latest version 4.4.1?
>
> On Tuesday, October 15, 2019 at 10:56:14 AM UTC-5, 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.(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.(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 a topic in the
> Google Groups "tesseract-ocr" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tesseract-ocr/hszVYemiUj4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tesseract-ocr+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/288c2e81-6a76-41fa-b7b9-9fff1cad5d74%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAAvFEWyvG9OzDsmh1WnFVn2Pa1vAMYt5Ezvn5tc2KppH%3DtmuKA%40mail.gmail.com.


[tesseract-ocr] Re: java.lang.UnsatisfiedLinkError in Windows Server 2008

2019-10-17 Thread Quan Nguyen
Can you try with version 4.3.1 or the latest version 4.4.1?

On Tuesday, October 15, 2019 at 10:56:14 AM UTC-5, 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.(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.(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 tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/288c2e81-6a76-41fa-b7b9-9fff1cad5d74%40googlegroups.com.


[tesseract-ocr] Re: java.lang.UnsatisfiedLinkError in Windows Server 2008

2019-10-16 Thread Nuno Feliciano
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.(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.(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 tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/7450192d-792c-4116-8727-851d64c551e3%40googlegroups.com.


[tesseract-ocr] Re: java.lang.UnsatisfiedLinkError in Windows Server 2008

2019-10-15 Thread Aaron Stewart
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.(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.(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 tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/37636897-02aa-4b8d-ac2b-9ab3f4282bfb%40googlegroups.com.