Skip to content

Installation & Dependencies

ruffsl edited this page Dec 4, 2014 · 6 revisions

Dependencies

Ubuntu
Version: 14.04 LTS

EBT has been developed using Ubuntu’s latest Long Term Support (LTS) release 14.04, for best support with most common dependencies. Although installation is possible for other Linux distributions and Mac OS X, this will require further source builds for additional dependency and is not recommended.

###Packages

If you don’t have these packages already then simply install them from Ubuntu's repository. The following packages are used when building the rest of the dependencies from source

  • cmake
  • sudo apt-get install cmake
  • boost
  • sudo apt-get install libboost-all-dev
  • OpenGL >= 1.10
  • sudo apt-get install libglew-dev
  • GLEW >= 1.10
  • sudo apt-get install libglew-dev
  • GLUT >=2.8.1
  • sudo apt-get install freeglut3-dev
  • LAPACK >= 3.5
  • sudo apt-get install liblapack3
  • [git] (http://git-scm.com)
  • sudo apt-get install git

OpenCV
Version: 2.4.9, or see below

OpenCV is available on github. Detailed installation instructions are available at here. Note that you will need to enable the BUILD_opencv_nonfree, which has some nonfree features such as SURF used for this project.

  • git clone https://github.com/Itseez/opencv.git
  • cd opencv
  • mkdir build
  • cd build

Modify to reflect nonfree build:

  • cmake -BUILD_opencv_nonfree="True" ..
  • make -j4
  • sudo make install

Installation

Build EBT

Now you are ready build the rest of EBT. This uses the same build procedure as Opencv, making sure to build against the same OpenCV library you built before.

  • git clone https://github.com/CognitiveRobotics/object_tracking_2D.git
  • cd object_tracking_2D
  • mkdir build
  • cd build
  • cmake ..
  • make -j4

You should now be ready to run! If you wish, you can now proceed to one of the tutorials to learn more about using and working with EBT.

Clone this wiki locally