It's trying to search for libtesseract302.dll, not .lib.

Check out these posts:

http://sourceforge.net/p/tess4j/discussion/1202294/thread/cd54d983
http://stackoverflow.com/questions/10815978/including-tess4j-to-a-java-project-as-library-in-eclipse

And make sure you use 32-bit Java.

On Thursday, December 19, 2013 9:43:15 AM UTC-6, José Luis Jiménez Márquez 
wrote:
>
> Hello everybody,
>
>       I have a problem with library references of Tesseract. My 
> application is built in JAVA and I used ECLIPSE IDE. When It call
> the method doOCR, It throws exceptions:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load 
> library 'libtesseract302': No se puede encontrar el módulo especificado.
>
> at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:194)
> at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:283)
> at com.sun.jna.Library$Handler.<init>(Library.java:142)
> at com.sun.jna.Native.loadLibrary(Native.java:368)
> at com.sun.jna.Native.loadLibrary(Native.java:353)
> at net.sourceforge.tess4j.TessAPI.<clinit>(Unknown Source)
> at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
> at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
> at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
> at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
>         ........
>
>
> I don't Know change library path for Tesseract find it. I'm searching in 
> the code but I didn´t find.
>
> Thank you.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to