User Tools

Site Tools


getting_started:deploy

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 [2021/03/24 11:39] – [Deploy] ursgrafgetting_started:deploy [2021/03/25 11:18] (current) ursgraf
Line 1: Line 1:
-====== Deploy ======+====== Deploying ======
  
-  * [[.:deploy_host]] +After successfully building an application it must be deployed and run either on the host itself or on a target. Follow the route you have chosen at [[getting_started:install|]].
-===== Working on the Host ===== +
-If you are running EEROS on the host machine you can omit deploying to a target machineHowever, you have to make sure that the necessary libraries can be found at runtime. We suggest not to install these libraries into your default installation directory. We recommend that you add the directory with your compiled library to your library path with +
-<code> +
-$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/ +
-</code> +
- +
-To give an example: If you compiled EEROS together with the simulator wrapper library and installed them locally into ///home/you/work/install-x86/// you extend your path with +
-<code> +
-$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/you/work/compiled/install-x86/lib/ +
-</code> +
-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 ''sudo'', as you often have to do, you must prepend the call with +
-<code> +
-$ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} yourExample +
-</code> +
-Alternatively, you could could use +
-<code> +
-$ sudo LD_LIBRARY_PATH=/home/you/work/compiled/install-x86/lib/ yourExample +
-</code> +
- +
-Continue with the first example [[getting_started:say_hello|]] or use the examples in EEROS as described in [[getting_started:tutorials:start|]]. +
- +
-===== Working on a Target ===== +
-If you do a cross development on a host and are using it on a target platform you have to deploy all the necessary libraries together with the application program first. +
- +
-The [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] include a script for deployment+
  
 +  * [[.:deploy:deploy_host]]
   * [[.:deploy:deploy_bbb|]]   * [[.:deploy:deploy_bbb|]]
   * [[.:deploy:deploy_cb20|]]   * [[.:deploy:deploy_cb20|]]
 +  * [[.:deploy:deploy_manually|]]
getting_started/deploy.1616582391.txt.gz · Last modified: 2021/03/24 11:39 by ursgraf