From 37b73c7d85c9d25034f6422b49770d14e86376fb Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 27 Apr 2016 12:43:50 +0200 Subject: [PATCH] README: updated build instructions, prerequisites --- README.md | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c3538ab7c0..7f09d55deb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ECL -#### Very lightweight Estimation & Control Library. +**Very lightweight Estimation & Control Library.** [![Build Status](https://travis-ci.org/PX4/ecl.svg?branch=master)](https://travis-ci.org/PX4/ecl) @@ -8,11 +8,35 @@ This library solves the estimation & control problems of a number of robots and The library is currently BSD licensed, but might move to Apache 2.0. ## Building EKF Library -Prerequisite: + +### Prerequisites: + * Eigen3: http://eigen.tuxfamily.org/index.php installed +#### Ubuntu: + +``` +sudo apt-get install libeigen3-dev +``` + +#### Mac + +``` +brew install eigen +``` + + By following the steps mentioned below you can create a shared library which can be included in projects using `-l` flag of gcc: - * mkdir Build/ - * cd Build/ - * cmake ../EKF - * make + +``` +mkdir Build/ +cd Build/ +cmake ../EKF +make +``` + +Alternatively, just run: + +``` +./build.sh +```