using vcpkg to install tesseract (4.1.0 vs 5.0.0)

878 views
Skip to first unread message

Teddy Zzang

unread,
Dec 4, 2019, 3:29:39 PM12/4/19
to tesseract-ocr
Hi team,

I'm currently using "vcpkg install" method to compile tesseract.

Is it possible to pull from the latest master branch?

Stephen Lambie

unread,
Dec 6, 2019, 1:09:37 AM12/6/19
to tesseract-ocr
Use the --head option. I learned this from this forum ;)

E.g. 

vcpkg install tesseract
:x64-windows --head

Teddy Zzang

unread,
Dec 10, 2019, 11:16:21 AM12/10/19
to tesseract-ocr
Thanks for suggestion.
However, it's still not fetching the latest master branch with --head option.

Starting package 10/10: tesseract:x86-windows-static
Building package tesseract[core]:x86-windows-static from HEAD...
Warning: abi keys are missing values:
    head

-- Package does not specify HEAD_REF. Falling back to non-HEAD version.
.
-- Extracting source C:/Joo/vcpkg/downloads/tesseract-ocr-tesseract-4.1.0.tar.gz

-- Applying patch fix-tiff-linkage.patch
-- Applying patch fix-text2image.patch
-- Using source at C:/Joo/vcpkg/buildtrees/tesseract/src/4.1.0-adb63d30fa
-- Configuring x86-windows-static
-- Building x86-windows-static-dbg
-- Building x86-windows-static-rel
-- Performing post-build validation
-- Performing post-build validation done
Building package tesseract[core]:x86-windows-static... done
Installing package tesseract[core]:x86-windows-static...
Installing package tesseract[core]:x86-windows-static... done

I ended up tweaking some cmake files to get it to work.
Reply all
Reply to author
Forward
0 new messages