commit d54291c4586ecf4d30efcb1a261af2712aa897c1 Author: ray <2954701669@qq.com> Date: Thu Dec 14 23:21:01 2023 -0800 ray diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8b00265 --- /dev/null +++ b/build.sh @@ -0,0 +1,41 @@ +echo "Configuring and building Thirdparty/DBoW2 ..." + +cd Thirdparty/DBoW2 +mkdir build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Release +make -j + +cd ../../g2o + +echo "Configuring and building Thirdparty/g2o ..." + +mkdir build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Release +make -j + +cd ../../Sophus + +echo "Configuring and building Thirdparty/Sophus ..." + +mkdir build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Release +make -j + +cd ../../../ + +echo "Uncompress vocabulary ..." + +cd Vocabulary +tar -xf ORBvoc.txt.tar.gz +cd .. + +echo "Configuring and building ORB_SLAM3 ..." + +mkdir build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Release +make -j4 +