- Clone the git repository:
git clone --recursive https://github.com/stack-of-tasks/sot-torque-control.git
cd sot-torque-control
- If you need it, switch to the devel branch
- Create the build directory and move there
mkdir _build-RELEASE
cd _build-RELEASE
- Run cmake
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=$DEVEL_DIR/openrobots
In Ubuntu 14.04 you may need to add -DCMAKE_CXX_FLAGS="-std=c++11"
.
- Build the package
- Install the package