diff --git a/README.md b/README.md index 3fbc7886067b8c15b05f88f5ccebc3a0ab014b16..1dbbbc3478e0f0e79c49c7fc8d2572e0c52d09b7 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