getting_started:deploy:deploy_host
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:deploy:deploy_host [2021/03/25 08:05] – ursgraf | getting_started:deploy:deploy_host [2021/03/25 11:16] – [Examples] ursgraf | ||
---|---|---|---|
Line 7: | Line 7: | ||
To give an example: If you compiled EEROS together with the simulator wrapper library and installed them locally into /// | To give an example: If you compiled EEROS together with the simulator wrapper library and installed them locally into /// | ||
< | < | ||
- | $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ | + | $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ |
</ | </ | ||
Please keep in mind that this path setting is valid for the current shell. As soon as you start a new shell, you have to repeat the step. \\ | Please keep in mind that this path setting is valid for the current shell. As soon as you start a new shell, you have to repeat the step. \\ | ||
There is one more difficulty. If you start your application with '' | There is one more difficulty. If you start your application with '' | ||
< | < | ||
- | $ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} yourExample | + | $ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} |
</ | </ | ||
Alternatively, | Alternatively, | ||
< | < | ||
- | $ sudo LD_LIBRARY_PATH=/ | + | $ sudo LD_LIBRARY_PATH=/ |
</ | </ | ||
- | Continue with the first example | + | ===== Examples ===== |
+ | |||
+ | If you have followed | ||
+ | |||
+ | < | ||
+ | $ cd ~/ | ||
+ | $ ./ | ||
+ | </ | ||
+ | No root privileges and no other libraries are necessary. | ||
+ | |||
+ | If you want to run the built-in examples of EEROS | ||
+ | < | ||
+ | $ cd ~/ | ||
+ | $ ./ | ||
+ | </ | ||
+ | No root privileges and no other libraries are necessary. | ||
+ | |||
+ | < | ||
+ | $ cd ~/ | ||
+ | $ sudo ./ | ||
+ | </ | ||
+ | You need root privileges but no other libraries. | ||
+ | |||
+ | < | ||
+ | $ cd ~/ | ||
+ | $ sudo LD_LIBRARY_PATH=../ | ||
+ | </ | ||
+ | You need root privileges and the simulator library 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: | ||
getting_started/deploy/deploy_host.txt · Last modified: 2023/04/13 09:18 by ursgraf