diff --git a/deploy/cpp/scripts/build.sh b/deploy/cpp/scripts/build.sh index fbc6a871dd4817c6e3ff8cd4abbb78946cf8ff86..1937c7a05b6854e47c32c7c7833526b94de083ff 100644 --- a/deploy/cpp/scripts/build.sh +++ b/deploy/cpp/scripts/build.sh @@ -51,11 +51,11 @@ then echo "set OPENCV_DIR for aarch64" # TX2平台通过以下命令下载预编译的opencv mkdir -p $(pwd)/deps && cd $(pwd)/deps - wget -c https://paddlemodels.bj.bcebos.com/TX2_JetPack4.3_opencv_3.4.10_gcc7.5.0.zip - unzip TX2_JetPack4.3_opencv_3.4.10_gcc7.5.0.zip && cd .. + wget -c https://bj.bcebos.com/v1/paddledet/data/TX2_JetPack4.3_opencv_3.4.6_gcc7.5.0.tar.gz + tar -xvf TX2_JetPack4.3_opencv_3.4.6_gcc7.5.0.tar.gz && cd .. # set OPENCV_DIR - OPENCV_DIR=$(pwd)/deps/TX2_JetPack4.3_opencv_3.4.10_gcc7.5.0/ + OPENCV_DIR=$(pwd)/deps/TX2_JetPack4.3_opencv_3.4.6_gcc7.5.0/ else echo "Please set OPENCV_DIR manually"