I think I did it in the past: I wanted to have only leptonica and tesseract library. Try to build leptonica with static linking and than force tesseract build to use your leptonica build/installation...
Zdenko po 9. 7. 2018 o 11:40 blues <[email protected]> napĂsal(a): > Hi All, > > I followed the instruction for Windows to build tesseract 3.05 with cppan > + cmake. the output exe, dll dynamically links to many other dlls. (which > downloaded by cppan) > > pvt.cppan.demo.danbloomberg.leptonica-1.74.4.dll > - pvt.cppan.demo.tiff-4.0.9.dll > - pvt.cppan.demo.png-1.6.34.dll > - pvt.cppan.demo.jpeg-9.2.0.dll > - etc... > > I would like to static links those dependencies. so I have fewer files to > deploy. > how do I do that with cppan + cmake or any other way? > > -- > 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]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/16aa2b16-cc50-4944-a214-58555bf05b74%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/16aa2b16-cc50-4944-a214-58555bf05b74%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xL3fSxoASZTG-ORueYdpoVH%3D4URx%2BmaCV0%3DrLOar7VVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

