leptonica windows 64 bit

1,059 views
Skip to first unread message

Rui Guo

unread,
Dec 1, 2014, 9:28:34 PM12/1/14
to javacpp...@googlegroups.com
i found there was not 64 bit windows bingding for leptonica. 

so i used the leptonica presets project compile the dll.

finally i must say javacpp is excellent and is very easy to use

thank you Samuel, great job!

the zip file contains

liblept168.dll

liblept168.lib

jnilept.dll



Samuel Audet

unread,
Dec 6, 2014, 12:43:05 AM12/6/14
to javacpp...@googlegroups.com, Rui Guo
Hi,

Thanks!!

Actually, I would like to have version 1.71 and Tesseract 3.03-rc1 for
Windows x86 and x64. Would you be able to provide builds for those as well?

Samuel

Samuel Audet

unread,
Dec 14, 2014, 9:55:09 AM12/14/14
to javacpp...@googlegroups.com, Rui Guo
FYI, I've just updated the presets to include the newest versions of
Leptonica and Tesseract on Windows x86 and x64 as well:
https://github.com/bytedeco/javacpp-presets/commit/a6c38c51fb1a621c9b272b2da421bd6b159dacf1

Samuel

Siva Kumar

unread,
May 4, 2015, 4:21:54 AM5/4/15
to javacpp...@googlegroups.com, bin...@gmail.com

Hi, Is there a dll of Leptonica for windows 64-bit (x64)? Please advise. 

Thanks
Siva.

Samuel Audet

unread,
May 4, 2015, 4:25:22 AM5/4/15
to javacpp...@googlegroups.com, bin...@gmail.com

Of course, simply follow the instructions here:
https://github.com/bytedeco/javacpp-presets/tree/master/leptonica

Samuel

2015/05/04 17:21 "Siva Kumar" <tamil...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "javacpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacpp-proje...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Siva Kumar

unread,
May 8, 2015, 7:04:40 AM5/8/15
to javacpp...@googlegroups.com, bin...@gmail.com
Hi, Thanks for the reply and I could not get my solution there.
Also I tried of building libraries,(DLL) for 32-bit windows using VS2010 by the help of http://www.leptonica.com/vs2008doc/building-liblept.html
But I cant build it for x64 configuration, any help would be greatly appreciated.

Thanks,
Siva.

Samuel Audet

unread,
May 8, 2015, 7:07:20 AM5/8/15
to javacpp...@googlegroups.com
On 05/08/2015 07:32 PM, Siva Kumar wrote:
> Hi, Thanks for the reply and I could not get my solution there.
> Also I tried of building libraries,(DLL) for 32-bit windows using VS2010
> by the help of http://www.leptonica.com/vs2008doc/building-liblept.html
> But I cant build it for x64 configuration, any help would be greatly
> appreciated.

Well, it's working fine here under x64 Windows, so if you have any more
info, like error messages, and what not, I should be able to help you.
Let me know, thanks!

Samuel

Siva Kumar

unread,
May 8, 2015, 8:07:05 AM5/8/15
to javacpp...@googlegroups.com
Hi,
  You can find the errors here, and refer the attached file for more errors.
 (I just changed the from 32 to 64 and build-ed it)


Error    82    error LNK1120: 74 unresolved externals    C:\..\leptonica-1.68\vs2008\DLL Debug\liblept168d.dll    liblept168
Error    17    error LNK2001: unresolved external symbol jpeg_std_error    C:\..\leptonica-1.68\vs2008\libversions.obj    liblept168
 warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)    C:\..\leptonica-1.68\src\leptwin.c    166    1    liblept168

Thanks
.
Error.txt

Samuel Audet

unread,
May 8, 2015, 8:29:37 AM5/8/15
to javacpp...@googlegroups.com
On 05/08/2015 09:07 PM, Siva Kumar wrote:
> Hi,
> You can find the errors here, and refer the attached file for more errors.
> (I just changed the from 32 to 64 and build-ed it)

Ok, but what happens if you follow the instructions at the URL below
without rebuilding anything?
https://github.com/bytedeco/javacpp-presets/tree/master/leptonica

Samuel

Siva Kumar

unread,
May 8, 2015, 8:51:30 AM5/8/15
to javacpp...@googlegroups.com
I couldn't find anything related to building on win x64 there(github). Hence I have followed the Leptonica site.
it only works for 32 bit configuration.
thanks.
Reply all
Reply to author
Forward
0 new messages