User Tools

Site Tools


getting_started:compile_eeros_man

This is an old revision of the document!


Compile Manually

Compile and install EEROS for the host as follows:

$ mkdir build-x86
$ cd build-x86
$ mkdir eeros
$ cd eeros
$ cmake -DCMAKE_INSTALL_PREFIX=../../install-x86 ..
$ make
$ make install

If your target architecture is different from the host platform we suggest to use a SDK. If you don't use a SDK, you have to specify a toolchain file with as given in Cross Compilation.

Per default, debug information will be included in the code. For maximum efficiency make sure to change the cmake command to:

$ cmake -DCMAKE_INSTALL_PREFIX=../../install-x86 -DCMAKE_BUILD_TYPE=Release ..

We recommend to not install EEROS globally on your system. However, if you want to install it globally you have to execute the following commands:

$ make install

The reason for not installing EEROS globally is that you might need two or even more versions as soon as you compile for various target architectures. For this purpose we will install various versions into custom folders named after the target architecture by setting the CMake variable CMAKE_INSTALL_PREFIX with

$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 ..

As soon as you access dedicated hardware on your system you have to install one of the Hardware Libraries. You do this

getting_started/compile_eeros_man.1616696958.txt.gz · Last modified: 2021/03/25 19:29 by ursgraf