forked from zang09/ORB-SLAM3-STEREO-FIXED
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·55 lines (41 loc) · 1.06 KB
/
build.sh
File metadata and controls
executable file
·55 lines (41 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#echo "Installing dependencies"
#sudo apt install libboost-serialization-dev libboost-filesystem-dev
#echo "Installing Pangolin"
# Clone Pangolin along with it's submodules
#cd Thirdparty
#git clone --recursive -b v0.9.2 https://github.com/stevenlovegrove/Pangolin.git
#cd Pangolin
# Install dependencies (as described above, or your preferred method)
#./scripts/install_prerequisites.sh recommended
# Configure and build
#cmake -B build
#cmake --build build
#cd ../..
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