-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opencv4[contrib] does not pick up hdf5 and tesseract for arm64-windows #27857
Comments
"contrib": { However, if I'm building natively in ARM64, the install looks for the dependencies. If building cross compilation from x64. install will pass but find_package will evenentually since generated OpenCVModules.cmake still has the followings: |
Useful observations. |
For now, workaround is to change in vcpkg.json for opencv4 "contrib": { In that way, native build will pass without issue. |
HDF5 cross-compile issue is #24898, once that's closed, my proposed fix can be applicable for both cases. |
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
.\vcpkg.exe install opencv4[contrib]
Computing installation plan...
The following packages will be built and installed:
opencv4[contrib,core,default-features,dnn,jpeg,png,quirc,tiff,webp]:x86-windows -> 4.6.0#8
.\vcpkg.exe install opencv4[contrib]:arm64-windows
Computing installation plan...
The following packages will be built and installed:
opencv4[contrib,core,default-features,dnn,jpeg,png,quirc,tiff,webp]:arm64-windows -> 4.6.0#8
Eventually, arm64-windows install will fail with failure to locate HDF5 and Tesseract.
The text was updated successfully, but these errors were encountered: