Tesseract-OCR_for_Windows
Tesseract-OCR_for_Windows copied to clipboard
How can I build a DLL ?
Hello,
I'm not a C++ developper, I've used this code to build Tesseract with VS2015 without problem, and I have a working exe...but what I need is a DLL :)
What have I to do to build a static DLL (without dependency) ?
I've tried to play with cppan but I have an error "list does not recongize sub-commande FILTER" even when I use the provided cppan.yml without any change.
Thanks
EDIT: I've found :)
- open tesseract.sln in VS2015
- select libtesseract
- open properties
- General/ Target Extension = .dll, Configuration Type = Dynamic Library (.dll)
- C/C++ Preprocessor/ Preprocessor Definitions: add TESS_EXPORTS
Build project :)