User Tools

Site Tools


getting_started:compile_eeros_man

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
getting_started:compile_eeros_man [2021/03/25 19:36] ursgrafgetting_started:compile_eeros_man [2021/10/24 11:43] – [Compile Hardware Wrapper Libraries] ursgraf
Line 21: Line 21:
  
  
 +===== Compile Hardware Wrapper Libraries =====
  
 As soon as you access dedicated hardware on your system you have to install one of the [[eeros_architecture:hal:hardware_libraries|]]. You do this in a similar fashion as you did with the EEROS library itself, e.g. fetch the code of the simulator As soon as you access dedicated hardware on your system you have to install one of the [[eeros_architecture:hal:hardware_libraries|]]. You do this in a similar fashion as you did with the EEROS library itself, e.g. fetch the code of the simulator
 +<code>
 +$ git clone https://github.com/eeros-project/sim-eeros.git sim-eeros
 +</code>
 +
 Build and install it Build and install it
 <code> <code>
 $ cd build-x86 $ cd build-x86
-$ mkdir eeros +$ mkdir sim-eeros 
-$ cd eeros+$ cd sim-eeros
 $ cmake -DCMAKE_INSTALL_PREFIX=../../install-x86 .. $ cmake -DCMAKE_INSTALL_PREFIX=../../install-x86 ..
 $ make $ make
Line 34: Line 39:
  
 Continue with [[getting_started:deploy:deploy_manually|]]. Continue with [[getting_started:deploy:deploy_manually|]].
 +
 +===== Compile Additional Libraries =====
 +
 +Some blocks of the control system use further libraries such as CANOpen, LibUSB, MODBUS and so on. You have to fetch, make and install these libraries first. Then you must build EEROS with some additional switches so that when building EEROS these libraries will be found and linked.
 +<code>
 +$ git clone https://github.com/eeros-project/sim-eeros.git sim-eeros
 +</code>
 +
 +Build and install it
 +<code>
 +$ cd build-x86
 +$ mkdir sim-eeros
 +$ cd sim-eeros
 +$ cmake -DCMAKE_INSTALL_PREFIX=../../install-x86 ..
 +$ make
 +$ make install
 +</code>
 +
 +Continue with [[getting_started:deploy:deploy_manually|]].
 +
getting_started/compile_eeros_man.txt · Last modified: 2021/10/24 11:46 by ursgraf