Skip to content

Commit

Permalink
Add support for compiling against the Eigen3 library installed on the…
Browse files Browse the repository at this point in the history
… system.
  • Loading branch information
DavidEGrayson committed Jul 27, 2016
1 parent 876e8d1 commit 86ec076
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -5,6 +5,10 @@ CC := g++

CPPFLAGS += -I.

# Use the Eigen library.
EIGEN_NAME = eigen3
CPPFLAGS += $(shell pkg-config --cflags $(EIGEN_NAME))

# All warnings
CPPFLAGS += -Wall

Expand Down
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -6,7 +6,7 @@ h2. Building From Source

Navigate to the top-level directory of the source code and then run the following two commands:

<pre><code>sudo apt-get install libi2c-dev libboost-program-options-dev python-scipy
<pre><code>sudo apt-get install libi2c-dev libeigen3-dev libboost-program-options-dev python-scipy
make</code></pre>

Then, to install minimu9-ahrs onto your system, run:
Expand Down

0 comments on commit 86ec076

Please sign in to comment.