From 948bf0cc8a7d693ee715a66aecdc77483d6e5105 Mon Sep 17 00:00:00 2001 From: AngePierre Date: Thu, 10 Sep 2026 17:03:42 +0200 Subject: [PATCH] build_sdk: also reuse an SDK pre-placed under ~/Downloads The Orin came with the SDK source at ~/Downloads/OrbbecSDK_v2; add it to the reuse candidates so a clean install finds the build there instead of cloning a second copy. Co-Authored-By: Claude Opus 5 (1M context) --- scripts/build_sdk.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build_sdk.sh b/scripts/build_sdk.sh index 28b5499..1fb55e9 100755 --- a/scripts/build_sdk.sh +++ b/scripts/build_sdk.sh @@ -70,7 +70,9 @@ inject_recorder() { # missing there — never disturb the library build. for candidate in "${OB_SDK_ROOT:-}" \ "$HOME/OrbbecSDK_v2" \ - "$HOME/OrbbecSDK_v2_jetson"; do + "$HOME/OrbbecSDK_v2_jetson" \ + "$HOME/Downloads/OrbbecSDK_v2" \ + "$HOME/Downloads/OrbbecSDK_v2_jetson"; do [[ -z "$candidate" ]] && continue if b=$(find_build "$candidate" 2>/dev/null); then echo ">> SDK deja bati, reutilise: $candidate" >&2