1 Star 0 Fork 0

irishcoffeeguo/jetson-inference

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakePreBuild.sh 855 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
# this script is automatically run from CMakeLists.txt
BUILD_ROOT=$PWD
BUILD_INTERACTIVE=$1
echo "[Pre-build] dependency installer script running..."
echo "[Pre-build] build root directory: $BUILD_ROOT"
echo "[Pre-build] build interactive: $BUILD_INTERACTIVE"
echo " "
# break on errors
#set -e
# install packages
sudo apt-get update
sudo apt-get install -y dialog
sudo apt-get install -y libglew-dev glew-utils libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libglib2.0-dev
sudo apt-get install -y libopencv-calib3d-dev libopencv-dev
# libgstreamer0.10-0-dev libgstreamer-plugins-base0.10-dev libxml2-dev
sudo apt-get update
# run the model downloader
./download-models.sh $BUILD_INTERACTIVE
# run the pytorch installer
./install-pytorch.sh $BUILD_INTERACTIVE
echo "[Pre-build] Finished CMakePreBuild script"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/irishcoffeeguo/jetson-inference.git
git@gitee.com:irishcoffeeguo/jetson-inference.git
irishcoffeeguo
jetson-inference
jetson-inference
master

搜索帮助