getting_started:install_and_setup_development_environment
Differences
This shows you the differences between two versions of the page.
getting_started:install_and_setup_development_environment [2019/04/25 18:31] – [Getting the Sources with a Script] graf | getting_started:install_and_setup_development_environment [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installation and Setup ====== | ||
- | ===== Prerequisites ===== | ||
- | We use Ubuntu 14.04 LTS or 16.04 LTS on the host machine. Other distributions are supported but not documented here. Further, you have to patch the kernel with a realtime patch as described in [[https:// | ||
- | |||
- | To use EEROS on the host machine the following packages have to be installed: | ||
- | < | ||
- | $ apt-get install git make cmake g++ | ||
- | </ | ||
- | |||
- | 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, CANOpen, [[http:// | ||
- | |||
- | ===== 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? | ||
- | * Run some examples, use the simulator, use with ROS / flink / comedi → see below [[getting_started: | ||
- | * Use it on the BeagleBone blue board → see [[https:// | ||
- | * Use it on the cb20 board with flink → see [[https:// | ||
- | * Use it with EtherCAT on x86 platform → see [[https:// | ||
- | |||
- | ==== 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 ===== | ||
- | Clone the eeros source repository: | ||
- | < | ||
- | $ git clone https:// | ||
- | </ | ||
- | |||
- | Checkout a stable version of EEROS: | ||
- | < | ||
- | $ cd eeros-framework | ||
- | $ git checkout v0.5 | ||
- | </ | ||
- | |||
- | In addition to the eeros library you need to install libraries for hardware access together with the appropriate eeros wrapper libraries, see [[install_wrapper]]. |
getting_started/install_and_setup_development_environment.1556209890.txt.gz · Last modified: 2019/04/25 18:31 by graf