-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmorbslam_installer.sh
More file actions
executable file
·53 lines (39 loc) · 1.24 KB
/
morbslam_installer.sh
File metadata and controls
executable file
·53 lines (39 loc) · 1.24 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
#apt update for good measure
sudo apt update
#python
sudo apt install libpython2.7-dev
sudo apt install -y ninja-build
#g20
sudo apt install -y libeigen3-dev
sudo apt install -y libsuitesparse-dev qtdeclarative5-dev qt5-qmake libqglviewer-dev-qt5
sudo apt install -y libceres-dev
#pangolin
sudo apt install -y libglew-dev
sudo apt install -y libpython2.7-dev
sudo apt install -y ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev \
libdc1394-22-dev libraw1394-dev \
libjpeg-dev libpng-dev libtiff5-dev libopenexr-dev
#sudo apt install -y libavcodec-ffmpeg-dev
sudo apt install -y libeigen3-dev \
doxygen python3-pydot python3-pydot-ng
sudo apt install -y graphviz # after python-pydot and python-pydot-ng
folder=${PWD##*/}
folder=${result:-/}
if [ "$folder" == "MORB_SLAM" ]; then
cd ..
fi
git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
#git checkout v0.7
#git submodule update --init --recursive
./scripts/install_prerequisites.sh -m all
cmake -B build
cmake --build build -j12
cd ..
#cmake --build build -t pypangolin_pip_install
# morbslam
sudo apt install -y libboost-all-dev libssl-dev
git clone git@github.com:Soldann/MORB_SLAM.git
cd MORB_SLAM
chmod +x build.sh
./build.sh -j$(nproc)