From 07562ae7027809c71f72ad02ebd36f13e99e5233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Thu, 28 Jul 2016 14:35:23 +0200 Subject: [PATCH] Update README.md --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3fbc78860..1dbbbc347 100644 --- a/README.md +++ b/README.md @@ -109,13 +109,13 @@ libceres.a will be installed at **/usr/local/lib** and headers at **/usr/local/i **(1)** Obtain: - Ubuntu: - - $ sudo apt-get install libyaml-cpp-dev - + ``` + $ sudo apt-get install libyaml-cpp-dev + ``` - Mac: - - $ brew install yaml-cpp - + ``` + $ brew install yaml-cpp + ``` We are shipping the CMAKE file `FindYamlCpp.cmake` together with Wolf. Find it at `[wolf]/cmake_modules/FindYamlCpp.cmake` ### Laser Scan Utils (Optional. Install only if you want to use IRI's laser scan utils) @@ -183,27 +183,27 @@ Proceed as follows: ``` source ~/.bash_profile // or ~/.bashrc, of course ``` -2. If you are using Eclipse or other __GUI__s and you want this environment variable to be accessed by them, edit the file `/etc/environment` (you need to use `sudo`) and add this line: +2. If you are using Eclipse or other __GUIs__ and you want this environment variable to be accessed by them, edit the file `/etc/environment` (you need to use `sudo`) and add this line: + ``` WOLF_ROOT="/abs/path/to/wolf" ``` -Then reboot your machine. - +Then reboot your machine. Alternatively, you can set up the environment variables in your GUIs only. Follow these guidelines: - If you run your application from __eclipse__, do: - Menu Run > Run configurations... - - Add, or edit, a run configuration for the executable you want to run - - Click on tab 'Environment' - - Add a variable named `WOLF_ROOT`, with value `/abs/path/to/wolf` - - If you run from __QtCreator__ - - Click on Left bar > Projects > Tab 'Build' + - Add, or edit, a run configuration for the executable you want to run + - Click on tab 'Environment' + - Add a variable named `WOLF_ROOT`, with value `/abs/path/to/wolf` + - If you run from __QtCreator__ + - Click on Left bar > Projects > Tab 'Build' - Under 'Build Environment', click 'Details' - Add variable `WOLF_ROOT` with value `/abs/path/to/wolf` - - Click on Tab 'Run' + - Click on Tab 'Run' - Select your Run configuration - Under 'Run Environment', make sure it says 'Use Build Environment' - If not, click on 'Details' - - Under 'Base environment for this run configuration', select 'Build Environment' + - Under 'Base environment for this run configuration', select 'Build Environment' ### Wolf ROS Node -- GitLab