What documentation? Cmake documentation or tesseract one? I tried to look up over the internet, but there's nothing clear why this crap happens, the stuff is linked, and i don't see any errors with missing lib, still errors occur, when the compilation is almost complete.
sobota, 5 lutego 2022 o 08:37:51 UTC+1 zdenop napisał(a): > I am not sure what you try to communicate, but windows build is without > problem see e.g. > https://github.com/tesseract-ocr/tesseract/runs/5073771445 > There are several ways how to build it on windows. Just read and carefully > documentation or tutorials on the internet. > > Zdenko > > > so 5. 2. 2022 o 6:57 Alberto Ramirez <[email protected]> napísal(a): > >> Full of errors occur when i try to link that leptonica, and not only. >> First, i am not good at cmake, so i had to figure out how to disable all >> the usless crap, that was enabled by default. >> >> Then i had to compile leptonica, after that, some curl also was missing, >> i tried to compile that, and some other junk ss2 has been missing... Then >> some more stuff, so i disabled them in cmake, still now leptonica is >> missing, and i get almost 800 compile errors, about missing library, when >> clearly it's linked!! I am not wasting my time with this bullshit anymore, >> 3 days is enough. >> >> >> This thing i put in the cmakelist >> >> set(Leptonica_DIR C:/Users/ name >> /Documents/Qt_Projects/leptonica-master-build/src) >> >> include_directories( >> C:/Users/name/Documents/Qt_Projects/leptonica-master-build/src >> ) >> >> target_link_libraries(libtesseract >> C:/Users/name/Documents/Qt_Projects/leptonica-master-build/src/libleptonica-1.83.0.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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/86c6cd17-c8a4-4f75-96ec-1ce20927f625n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/86c6cd17-c8a4-4f75-96ec-1ce20927f625n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/9cc5e015-7205-47e8-8a90-3528ee58e126n%40googlegroups.com.

