Skip to content

Instantly share code, notes, and snippets.

@gaoyifan
Last active October 27, 2016 11:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gaoyifan/9188201fbd1d1684c2ed to your computer and use it in GitHub Desktop.
Save gaoyifan/9188201fbd1d1684c2ed to your computer and use it in GitHub Desktop.
RTT installation for ubuntu14.04 base on RTAI kernel

RTT installation for ubuntu14.04 base on RTAI kernel

install requirement (assuming that use the image I provided)

apt-get install build-essential cmake libxerces-c2-dev omniorb libboost-all-dev doxygen

get RTT source

cd /usr/src
git clone git://gitorious.org/orocos-toolchain/rtt.git

add environment varible

export RTAI_ROOT_DIR=/usr/realtime
export RTAI_INCLUDE_DIR=$RTAI_ROOT_DIR/include
export RTAI_LIBRARY=$RTAI_ROOT_DIR/lib

you can also add this varible to ~/.bashrc (or ~/.zshrc)

build

cd /usr/src/rtt
mkdir build && cd build
cmake .. -DOROCOS_TARGET=lxrt
make
make install

enjoy it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment