getting_started:install_and_setup_development_environment
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:install_and_setup_development_environment [2019/04/25 11:41] – [Getting the Scripts] graf | getting_started:install_and_setup_development_environment [2020/06/04 11:55] – [Getting the Sources with a Script] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installation and Setup ====== | ====== Installation and Setup ====== | ||
+ | For a successfull installation process you have to carefully follow the instructions below. Notably you have to | ||
+ | - Fullfill the [[getting_started: | ||
+ | - Get the sources [[getting_started: | ||
+ | - [[getting_started: | ||
+ | - [[getting_started: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
Line 11: | Line 16: | ||
Please make sure to use a g++ version of at least 4.8. | Please make sure to use a g++ version of at least 4.8. | ||
- | If you are not only doing simulations you will have to install further software in order to communicate with your underlying hardware. This could be libraries supporting EtherCAT, | + | If you are not only doing simulations you will have to install further software in order to communicate with your underlying hardware. This could be libraries supporting EtherCAT, |
===== Getting the Sources with a Script ===== | ===== Getting the Sources with a Script ===== | ||
- | Setting up the correct way of compiling EEROS can be quite cumbersome. We strongly recommend to use our scripts. What to you want to do with EEROS? | + | Setting up the correct way of compiling EEROS can be quite cumbersome. We strongly recommend to use our scripts. How to setup these scripts depends on your platform. What to you want to do with EEROS? |
- | * Run some examples, use the simulator, use with ROS / flink / comedi | + | * Run examples, use with the simulator |
- | * Use it on the BeagleBone blue board → see [[https:// | + | * Run on the host together |
- | * Use it on the cb20 board with flink → see [[https:// | + | * Run on the host with comedi → see [[getting_started: |
+ | * Use it on the Beaglebone Blue board → see [[getting_started:install_and_setup_development_environment: | ||
+ | * Use it on the cb20 board with flink or CAN → see [[getting_started: | ||
+ | * Use it with EtherCAT on x86 platform | ||
- | ==== Getting the Scripts ==== | ||
- | Create a new and empty directory and download the scripts from | ||
- | < | ||
- | $ git clone https:// | ||
- | </ | ||
- | - Copy all files from the cloned directory into your working directory. This is the place where you want to have all necessary repositories together with your appplication. | ||
- | - Edit the '' | ||
- | - Choose a meaningful name for the build and install directory. | ||
- | - Comment or uncomment the necessary hardware libraries. The script will fetch those left uncommented. | ||
- | - Change the name of your application directory so that it fits your application. Per default a simple motor control will be downloaded. If you don't want to download this, please comment these two lines out. If you have another application in a repository, change the name accordingly. | ||
- | |||
- | Now you can run the '' | ||
- | < | ||
- | $ ./clone.sh | ||
- | </ | ||
- | After this you can continue with [[getting_started: | ||
===== Getting the Sources Manually ===== | ===== Getting the Sources Manually ===== | ||
- | Clone the eeros source repository: | + | Do this only, if you are not using the scripts mentioned above and know what you do. Clone the eeros source repository: |
< | < | ||
$ git clone https:// | $ git clone https:// | ||
Line 45: | Line 37: | ||
< | < | ||
$ cd eeros-framework | $ cd eeros-framework | ||
- | $ git checkout | + | $ git checkout |
</ | </ | ||
In addition to the eeros library you need to install libraries for hardware access together with the appropriate eeros wrapper libraries, see [[install_wrapper]]. | In addition to the eeros library you need to install libraries for hardware access together with the appropriate eeros wrapper libraries, see [[install_wrapper]]. |