compile tessract 5.0 in win10

96 views
Skip to first unread message

杜德銘

unread,
Jan 1, 2022, 4:26:36 AM1/1/22
to tesseract-ocr

in issue 3710,

I do not know

  • name: Configure and Build Tesseract (--head from main branch) with cmake
    run: |
    cmake . -B build -DCMAKE_BUILD_TYPE=Release -DSW_BUILD=OFF -DOPENMP_BUILD=OFF -DBUILD_TRAINING_TOOLS=OFF "-DCMAKE_TOOLCHAIN_FILE=${env:GITHUB_WORKSPACE}/vcpkg/scripts/buildsystems/vcpkg.cmake"
    cmake --build build --config Release --target install

can explain more detail? very thanks

Zdenko Podobny

unread,
Jan 1, 2022, 4:33:27 AM1/1/22
to tesser...@googlegroups.com
Regarding original what request:
a) we do not maintain vcpkg - you need to go to their project
b) for other ways how to build tesseract read the docs
c) search the internet - there are reliable sources on how to build tesseract on windows.


Zdenko


so 1. 1. 2022 o 10:26 杜德銘 <tute...@gmail.com> napísal(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 tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/7a7fe419-09be-48f7-a9c7-a855235b438cn%40googlegroups.com.

杜德銘

unread,
Jan 1, 2022, 6:24:43 AM1/1/22
to tesseract-ocr
the original :

vcpkg install tesseract:x64-windows for 64-bit. Use –head for the master branch.

is not 5.0, is 4.1.

can update this command?

reply by Shreeshrii:

See the workflow https://github.com/tesseract-ocr/tesseract/blob/main/.github/workflows/vcpkg.yml for how to build the main branch for the latest 5.0 code.

in which, I do not know

  • name: Configure and Build Tesseract (--head from main branch) with cmake
    run: |
    cmake . -B build -DCMAKE_BUILD_TYPE=Release -DSW_BUILD=OFF -DOPENMP_BUILD=OFF -DBUILD_TRAINING_TOOLS=OFF "-DCMAKE_TOOLCHAIN_FILE=${env:GITHUB_WORKSPACE}/vcpkg/scripts/buildsystems/vcpkg.cmake"
    cmake --build build --config Release --target install

can explain more detail? very thanks 

for other ways how to build tesseract read the docs-->sucessful? no in 5.0

search the internet - there are reliable sources on how to build tesseract on windows. --> where? the existed web, no one can work.




zdenop 在 2022年1月1日 星期六下午5:33:27 [UTC+8] 的信中寫道:

Shree Devi Kumar

unread,
Jan 1, 2022, 6:50:30 AM1/1/22
to tesseract-ocr

Shree Devi Kumar

unread,
Jan 1, 2022, 6:55:20 AM1/1/22
to tesseract-ocr
I have also posted in vcpkg repo for them to update the official package to 5.0.0.

Reply all
Reply to author
Forward
0 new messages