I am lost in your post...
e.g. DLL is recreated on Windows not on Linux. Are you trying to
cross-compile Tesseract?
How did you install Leptonica? Which version?
What does it mean that "webp is installed on my system" - only runtime?

Can you please provide each step and its output so we can replicate the
problem?

Zdenko


št 20. 6. 2024 o 17:47 Danny <d26144...@gmail.com> napísal(a):

> Hello,
> I'm currently trying to build a tesseract DLL from Scratch on Arch Linux
> with cmake.
> I've created a Build Folder inside the tesseract folder and executed cmake
> ..
> But when I execute cmake .. I get the following error:
> CMake Error at
> /home/tesseract/build/CMakeFiles/CMakeScratch/TryCompile-LokfWE/cmTC_0b6e5Targets.cmake:21
> (set_target_properties):
>   The link interface of target "leptonica" contains:
>
>     WebP::webp
>
>   but the target was not found.  Possible reasons include:
>
>     * There is a typo in the target name.
>     * A find_package call is missing for an IMPORTED target.
>     * An ALIAS target is missing.
>
> Call Stack (most recent call first):
>
> /home/tesseract/build/CMakeFiles/CMakeScratch/TryCompile-LokfWE/CMakeLists.txt:16
> (include)
>
>
> CMake Error at cmake/CheckFunctions.cmake:34 (try_run):
>   Failed to generate test project build system.
> Call Stack (most recent call first):
>   CMakeLists.txt:409 (check_leptonica_tiff_support)
>
> I have to add that webp is installed on my system.
> Any idea as to why this is happening?
> Any help would be much appreciated.
>
> Kind regards.
>
> --
> 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/2c66def9-43f6-485d-89cd-b2bb99d66009n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/2c66def9-43f6-485d-89cd-b2bb99d66009n%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/CAJbzG8ymFFntuwWfOPQZ%2BF%2BUxkS749zBYY49GmXUn9gELFgcqg%40mail.gmail.com.

Reply via email to