User Tools

Site Tools


getting_started:deploy:deploy_host

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
getting_started:deploy:deploy_host [2021/03/25 11:15] – [Examples] ursgrafgetting_started:deploy:deploy_host [2023/04/13 09:18] (current) ursgraf
Line 19: Line 19:
 </code> </code>
  
-==== Examples ====+===== Examples =====
  
 If you have followed the instructions given in [[getting_started:install:use_on_host|]], [[getting_started:compile_eeros_host|]] and [[getting_started:write_app:use_on_host|]] you can call the examples as follows: If you have followed the instructions given in [[getting_started:install:use_on_host|]], [[getting_started:compile_eeros_host|]] and [[getting_started:write_app:use_on_host|]] you can call the examples as follows:
  
 <code> <code>
-$ cd ~/eeros-project/build-x86/hello+$ cd ~/eeros-project/hello/build-x86
 $ ./helloworld $ ./helloworld
 </code> </code>
Line 31: Line 31:
 If you want to run the built-in examples of EEROS If you want to run the built-in examples of EEROS
 <code> <code>
-$ cd ~/eeros-project/build-x86/eeros+$ cd ~/eeros-project/eeros/build-x86 
 +$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/you/work/eeros-project/install-x86/lib/
 $ ./examples/logger/loggerTest $ ./examples/logger/loggerTest
 </code> </code>
-No root privileges and no other libraries are necessary.+No root privileges are necessary but you have to set your library path.
  
 <code> <code>
-$ cd ~/eeros-project/build-x86/eeros +$ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./examples/rtTest/rtTest
-$ sudo ./examples/rtTest/rtTest+
 </code> </code>
-You need root privileges but no other libraries.+You need root privileges and have to pass your library path.
  
 <code> <code>
 $ cd ~/eeros-project/build-x86/eeros $ cd ~/eeros-project/build-x86/eeros
-$ sudo LD_LIBRARY_PATH=../../install-x86/lib/ ./examples/system/systemTest1 -c examples/system/SystemTest1Config.json+$ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./examples/system/systemTest1 -c examples/system/SystemTest1Config.json
 </code> </code>
-You need root privileges and the simulator library must be found. Further, you have to specify a hardware configuration file.+You need root privileges and the eeros and simulator libraries must be found. Further, you have to specify a hardware configuration file.
  
 Continue with having a closer look at the examples in EEROS as described in [[getting_started:tutorials:start|]]. Continue with having a closer look at the examples in EEROS as described in [[getting_started:tutorials:start|]].
  
getting_started/deploy/deploy_host.1616667340.txt.gz · Last modified: 2021/03/25 11:15 by ursgraf