代码拉取完成,页面将自动刷新
#!/bin/bash
## Get real path ##
_script="$(readlink -f ${BASH_SOURCE[0]})"
echo "Script : $_script"
## Delete last component from $_script ##
_mydir="$(dirname $_script)"
echo "mydir : $_mydir"
if [ -f "Thirdparty/glog/lib/libglog.so" ];then
echo "Thirdparty/glog/lib/libglog.so is exist"
else
echo "Thirdparty/glog/lib/libglog.so is not exist"
echo "Configuring and building glog ..."
cd Thirdparty
#rm -f -r glog/
#cd glog-master
xz -d glog-master.tar.xz
tar -xvf glog-master.tar
cd glog-master
./autogen.sh
./configure --prefix=$_mydir/Thirdparty/glog
make
make install
fi
echo "Configuring and building pixel_aware_gyro_aided_klt_feature_tracker ..."
cd $_mydir
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j12
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。