Skip to content
Matthieu Herrb edited this page Dec 5, 2016 · 4 revisions

How to install TOASTER?

Install toaster-lib

To install toaster, you need first to install toaster-lib. To do so, go to your installation folder, and do :

> git clone https://github.com/laas/toaster-lib.git
> cd toaster-lib
> mkdir build
> cd build
> cmake ..

Note: You may have to specify the boost headers directory, and you may want to specify the prefix for the install path. To do so, you can either use the gui with the command ccmake ... Press "t" key to toggle. Once you finished configuring, quit the cmake gui by generating the files. To do so, press "c" then "g" key. Alternatively you can directly specify this with the command:

> cmake -DCMAKE_INSTALL_PREFIX=MY_INSTALL_PREFIX -DBoost_INCLUDE_DIR=MY_BOOST_INCLUDE_PATH/include ..
> make install

After installing toaster-lib, you will need to add TOASTERLIB_DIR variable to your env:

> export TOASTERLIB_DIR=MY_INSTALL_PREFIX

Alternatively, you may want to put this variable into your .bashrc

Install toaster

Once you installed toaster-lib, you will need to install toaster. To do so, go to your catkin workspace. You may need first to get catkin cmake_module.
You may also need to install SDL library:

> sudo apt-get install libsdl1.2-dev

Then use the following commands :

> cd ${CATKIN_PATH}/src
> git clone https://github.com/laas/toaster.git
> cd ..
> catkin_make