Compile Tesseract with vcpkg to get dynamic libraries

495 views
Skip to first unread message

PLOBEXRIME

unread,
Sep 30, 2018, 1:19:37 PM9/30/18
to tesseract-ocr
Hi, I'm searching for a way to compile Tesseract and get tesseract.dll library file. CPPAN works for me from time to time but always fail for x64 build so I've tried vcpkg instead. However vcpkg compiles Tesseract as executable and 3rd party libraries that are needed by it i.e. leptonica-1.74.4.dll, gif.dll etc. but no tesseract.dll
The command line that I use:
vcpkg install tesseract:x64-windows --head
So my question is - how and if vcpkg can be configured to compile Tesseract as a DLL ? The reason I need DLL file is that I can't use static libraries from Delphi.

flavi...@gmail.com

unread,
Oct 29, 2018, 5:41:42 AM10/29/18
to tesseract-ocr
Hi. Are you succeeded into compiling Tesseract 4 for Windows ?

Flaviu.

Anon ymous

unread,
Sep 19, 2019, 7:59:44 AM9/19/19
to tesseract-ocr
I have the same problem

Zdenko Podobny

unread,
Sep 19, 2019, 1:42:26 PM9/19/19
to tesser...@googlegroups.com
I did not tried it, but if you have installed leptonica, you can install tesseract from source, just adjust relevant part of cmake configuration. 
AFAIK vcpkg uses cmake and ninja, so this this tutorial  (last part) can help you: http://www.sk-spell.sk.cx/building-tesseract-and-leptonica-with-cmake-and-clang-on-windows


Zdenko


št 19. 9. 2019 o 13:59 Anon ymous <anonym...@gmail.com> napísal(a):
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/63ccfc46-c190-49f9-9f1f-a1b6e1936d68%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages