Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
sudo apt-get update
sudo apt-get install build-essential freeglut3-dev libboost-all-dev xterm libtiff4-dev libpng12-dev libgsl0-dev subversion bzr cmake-curses-gui libxft-dev libxinerama-dev fluid default-jre libgmp3-dev
sudo apt-get install witty witty-dev witty-doc witty-dbg

2) Download MOOS-IvP from httpDownloads:

Code Block

cd ~/
svn co https://oceanai.mit.edu/svn/moos-ivp-aro/

...

Code Block
releases/moos-ivp-13.5 moos-ivp
bzr co lp:goby/2.0 goby
cd goby
sudo ./DEPENDENCIES ubuntu
cd ~/ 
svn cocheckout https://oceanaihovergroup.mitgooglecode.educom/svn/trunk/ hovergroup

cd ~/
mkdir MOOS
cd MOOS
git clone  https://github.com/themoos/core-moos-ivp-aro/releases/moos-ivp-12.11-beta moos-ivp
.git MOOSCore
cd MOOSCore
git checkout master
cd ..
git clone https://github.com/themoos/essential-moos.git MOOSEssentials
cd MOOSEssentials
git checkout devel
cd ..
git clone https://github.com/themoos/ui-moos.git MOOSToolsUI
cd MOOSToolsUI
git checkout V10-beta-rc1
cd ..
git clone https://github.com/themoos/geodesy-moos.git MOOSGeodesy
cd MOOSGeodesy
git checkout master
cd ..

mv ~/MOOS/MOOSCore/Core/libMOOS/Comms/XPCGetProtocol.cpp ~/MOOS/MOOSCore/Core/libMOOS/Comms/XPCGetProtocol_bck.cpp
cp ~/hovergroup/third-party/XPCGetProtocol.cpp ~/MOOS/MOOSCore/Core/libMOOS/Comms/

3) Build3) Build MOOS with the following commands:

Code Block
cd ~/moos-ivp/MOOS/MOOSCore
cmake -D DISABLE_NAMES_LOOKUP=ON -D USE_ASYNC_COMMS=ON .
make -j4
cd ../MOOSEssentials
cmake .
make -j4
cd ../MOOSGeodesy
cmake .
make -j4
cd ../MOOSToolsUI
cmake -D BUILD_GRAPHICAL_TOOLS=ON .
make -j4

4) Build MOOS-IvP:

Code Block


cd ~/moos-ivp
rm MOOS
ln -s ../MOOS MOOS

cd ~/moos-ivp/ivp/src
cmake -D IVP_BUILD_GUI_CODE=ON .
make -j4

5) Download and install goby

Code Block
cd ~/
bzr co lp:goby
cd goby
sudo ./DEPENDENCIES ubuntu

cmakecmake -D build_apps=OFF -D build_appsmoos=OFF .
make -j4

6) Download and build hovergroup svn:

Code Block
cd ~/ 
svn checkout https://hovergroup.googlecode.com/svn/ivp-extend/trunk
./ hovergroupbuild_proto.sh
cmake -D BOOST_146=ON -D BUILD_SHORE_APPS=ON .
make -j4
cd ~/hovergroup/ivp-extend/trunk
cmake../josh
cmake -D BUILD_SHORE_APPS=ON .
make -j4

7) Add executable directories to your path (replacing "josh" with your username).  Add the following lines to your ~/.bashrc file.  

...

To import a project go to File -> New Project -> Import from Makefile Project with Existing Code.  For each of the following projects you'll need to select the folder location, name the project, and set the tool-chain to Linux GCC.  After creating projects you will also need to set their references to other projects.  Do this by right clicking on the project in the project explorer and selection properties, then select "project references" on the left.  

...

  • Use parallel make for large projects (moos-ivp especially) by changing the build command to "make -j4" in project properties -> C/C++ Build
  • Editor configuration under Window -> Preferences
    • Under General -> Editors -> Text Editors check "Insert spaces for tabs"