User Tools

Site Tools


getting_started:compile_eeros_host

This is an old revision of the document!


Compile on the Host

Back to Use on the Host.

Edit the config.sh.in file as follows

use_simulator=true
use_comedi=false
use_ros=false
use_ros_setup_script=false

This will build EEROS without the ROS examples. If you have ROS installed and want to build the ROS examples, change the config.sh.in to

use_simulator=true
use_comedi=false
use_ros=true
use_ros_setup_script=true

ros_setup_script=/opt/ros/kinetic/setup.bash

The last line must point to your ROS installation path. In general this will be /opt/ros/$ros_version_name/setup.bash.

Now you can run the clone script

$ ./clone.sh

Now you can run the clone script

$ ./clone.sh

After this you can continue with Compile on the Host.

After having downloaded the code you can now compile EEROS together with necessary libraries. The build and install directories are set in config.sh.in as follows

install_dir="$wd"/install-x86 
build_dir="$wd"/build-x86 

Change this setting if you want to choose different build and install directories.

After this you proceed with

$ ./make.sh

This will put all the executables into the build directory you have chosen and the compiled libraries together with the header files into the install directory. Please keep in mind that build and install directory are both defined in config.sh.in.

Continue with Writing EEROS Applications for the Host.

getting_started/compile_eeros_host.1616606290.txt.gz · Last modified: 2021/03/24 18:18 by ursgraf