forked from ENSTABretagneRobotics/moos-ivp-enstabretagne
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
31 lines (23 loc) · 1.14 KB
/
install.sh
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
#!/bin/bash
#-------------------------------------------------------------------
# Part 1: Building moos-ivp
#-------------------------------------------------------------------
cd
svn co https://oceanai.mit.edu/svn/moos-ivp-aro/releases/moos-ivp-14.7.1 moos-ivp
cd moos-ivp
sudo apt-get update -q
sudo apt-get install -y --force-yes g++ subversion xterm cmake libfltk1.3-dev freeglut3-dev libpng12-dev libjpeg-dev libxft-dev libxinerama-dev libtiff5-dev
./build-moos.sh
./build-ivp.sh
echo 'export PATH=$PATH:~/moos-ivp/bin' >> ~/.bashrc
echo 'export PATH=$PATH:~/moos-ivp/lib' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/moos-ivp/lib' >> ~/.bashrc
source ~/.bashrc
#-------------------------------------------------------------------
# Part 2: Building moos-ivp-enstabretagne
#-------------------------------------------------------------------
cd ../moos-ivp-enstabretagne
sudo apt-get install -y --force-yes libtinyxml2-dev libusb-1.0-0-dev mono-runtime libmono-winforms2.0-cil libv4l-dev libopencv-dev libboost1.55-dev libboost-system1.55-dev
./build.sh
echo 'source ~/moos-ivp-enstabretagne/script/source.sh' >> ~/.bashrc
source ~/.bashrc