Skip to content

Compiling Youbot applications (Hydro)

GreatAlexander edited this page Dec 11, 2014 · 2 revisions

First, clone the repository https://github.com/youbot/youbot_applications in the youbot hydro worskpace. For each application (e.g. hello_world_demo):

$ cd hello_world_demo
$ mkdir build
$ cd build
$ cmake ..
$ cd ..
$ make

In order for the youbot_oodl files (now contained in youbot_driver) to be found correctly, edit the CMakeLists.txt file of the application you want to make. Add:

SET(OODL_YOUBOT_INCLUDE_DIR /opt/ros/hydro/include/youbot_driver/)

When setting the path variables for compilation. Edit the path if the youbot_driver was installed on a different path (Unwise).