User Tools

Site Tools


getting_started:compile_eeros_sdk

Differences

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

Link to this comparison view

Next revision
Previous revision
getting_started:compile_eeros_sdk [2021/02/12 17:09] – external edit 127.0.0.1getting_started:compile_eeros_sdk [2021/03/17 14:21] (current) – [Compile Manually in Terminal] ursgraf
Line 1: Line 1:
-====== Compile ======+====== Compile using the SDK ======
  
  
Line 22: Line 22:
  
  
-===== Compile Manually in Terminal ===== 
-Compile and install EEROS to a custom folder as follows: 
-<code> 
-$ cd path/to/working/directory 
-$ mkdir build-eeros-x86-64 
-$ cd build-eeros-x86-64 
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. 
-$ make 
-$ make install 
-</code> 
-If your target architectur is different from the host platform you have to use a //tool chain file//. For more information see above [[getting_started:compile_eeros|Compile Using a Script]]. \\ 
-Per default, debug information will be included in the code. For maximum efficiency make sure to change the 4th line to: 
-<code> 
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 -DCMAKE_BUILD_TYPE=Release .. 
-</code> 
- 
- 
-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: 
-<code> 
-$ make install 
-</code> 
-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 
-<code> 
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. 
-</code> 
  
-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  
getting_started/compile_eeros_sdk.1613146164.txt.gz · Last modified: 2021/02/12 17:09 by 127.0.0.1