This is an old revision of the document!
Installing Hardware Libraries
As soon as you want to access hardware on your system you need a Hardware Library. Depending on the type of the hardware you have to install one of the libraries given below. Please keep in mind that these libraries get installed automatically if you follow the steps given in Getting the Sources with a Script.
Simulator
Clone the eeros simulator wrapper source repository:
$ git clone https://github.com/eeros-project/sim-eeros.git
Checkout a stable version of the wrapper:
$ cd sim-eeros $ git checkout master
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libsimeeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/
flink
Follow the installation instructions in http://flink-project.ch/ to install flink. Clone the eeros flink wrapper source repository:
$ git clone https://github.com/eeros-project/flink-eeros.git
Checkout a stable version of the wrapper:
$ cd flink-eeros $ git checkout master
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libflinkeeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/