It seems like you are not following the official documented way for compiling leptonica and tesseract. Follow it. Then we can help you.
Zdenko st 13. 3. 2024 o 6:43 Ravil R <molochnik1...@gmail.com> napĂsal(a): > Windows, msvc 2022, win32, I've got some questions regarding compilation > 1) How to specify the directory where Leptonica is installed? No matter > what I tried sln file every time contains *c:\Program > Files(x86)\Leptonica* > 2) Leptonica is definitely compiled with libtiff support: > *-- Used TIFF library: C:/Soft/tesslibs/libtiff/Win32/lib/tiff.lib* > but tesseract thinks it is not: > *Leptonica was build without TIFF support...* > 3) How to build both Leptonica and Tesseract as static libraries? > BUILD_STATIC_LIBS doesn't work and cmake says it is not used > 4) How to specify th ICU library files location? > > -- > 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-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/c23933a4-c828-45f2-a158-f25e3044f472n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/c23933a4-c828-45f2-a158-f25e3044f472n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yx5uASTcrRtnrP8m0aAu7yJ2H3NQaWogB1MDb3vcquow%40mail.gmail.com.