Skip to content
edrumwri edited this page Mar 12, 2015 · 19 revisions

Dependencies

Architecture

  • Linux is the officially supported OS.
  • Moby works on OS X if you can get OpenSceneGraph installed (or do not care to use Moby's rendering tools)
  • Moby is not supported on Windows (and, anecdotally, is difficulty to install)

Installing binary packages

Installing Moby on Debian/Ubuntu from binaries

Make sure you have installed Ravelin first.

Then, add ppa gwu-positronics/moby to your software sources, update, and install Moby:

$ sudo add-apt-repository ppa:gwu-positronics/moby
$ sudo apt-get update
$ sudo apt-get install moby

Installing Moby from source

The following packages are required for building from source:

  • cmake
  • libqhull-dev
  • libxml2-dev
  • liblapack3-dev
  • libatlas-dev
  • libopenscenegraph-dev
  • libboost-dev
$ sudo apt-get install cmake libqhull-dev libxml2-dev liblapack3-dev libatlas-dev libopenscenegraph-dev libboost-dev

You can then download the source from Github. We ensure that the standard (master) branch builds and works at (nearly) all times:

$ git clone https://github.com/PositronicsLab/Moby
$ cd Moby

Now install Moby from source using a standard CMake process (i.e., create a build directory, run cmake, then make, then make install):

Moby $ mkdir build
Moby $ cd build/
Moby/build $ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo 
Moby/build $ make
Moby/build $ sudo make install

Optional packages when building from source

  • boost odeint This package will allow one to use advanced integrators from the Boost library

Wiki home