-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
Closed
Milestone
Description
System Information
OpenCV version: 4.x
Operating System / Platform: macOS 14.4.1
Detailed description
The md5 check of the Orbbec dependency introduced in #24877 fails on my machine.
-- OrbbecSDK: Downloading v1.9.4.tar.gz from https://github.com/orbbec/OrbbecSDK/archive/refs/tags/v1.9.4/v1.9.4.tar.gz
CMake Warning at cmake/OpenCVDownload.cmake:268 (message):
OrbbecSDK: Hash mismatch: e7566fa915a1b0c02640df41891916fe
Call Stack (most recent call first):
3rdparty/orbbecsdk/orbbecsdk.cmake:4 (ocv_download)
modules/videoio/cmake/detect_obsensor.cmake:10 (download_orbbec_sdk)
modules/videoio/cmake/init.cmake:7 (include)
modules/videoio/cmake/init.cmake:25 (add_backend)
cmake/OpenCVModule.cmake:298 (include)
cmake/OpenCVModule.cmake:361 (_add_modules_1)
cmake/OpenCVModule.cmake:408 (ocv_glob_modules)
CMakeLists.txt:1040 (ocv_register_modules)
CMake Error at 3rdparty/orbbecsdk/orbbecsdk.cmake:16 (message):
Failed to download orbbec sdk
Call Stack (most recent call first):
modules/videoio/cmake/detect_obsensor.cmake:10 (download_orbbec_sdk)
modules/videoio/cmake/init.cmake:7 (include)
modules/videoio/cmake/init.cmake:25 (add_backend)
cmake/OpenCVModule.cmake:298 (include)
cmake/OpenCVModule.cmake:361 (_add_modules_1)
cmake/OpenCVModule.cmake:408 (ocv_glob_modules)
CMakeLists.txt:1040 (ocv_register_modules)
It seems like git tags aren't fixed in that repo and keep getting updated. I guess the build server has the old version cached and so doesn't run into that issue.
https://github.com/orbbec/OrbbecSDK/commits/v1.9.4
A fix could be to specify the specific commit like
https://github.com/orbbec/OrbbecSDK/archive/0891271c5d85b1b15578f8a1a273c031099159b2.tar.gz
and amend the md5 checksum.
Steps to reproduce
Run cmake on the current 4.x branch on macOS.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
cedricnew92