From 2fd2ba032209ed1425afe80268d46497343aa1e2 Mon Sep 17 00:00:00 2001
From: Joan Sola <jsola@iri.upc.edu>
Date: Wed, 27 Jul 2016 16:16:04 +0200
Subject: [PATCH] Update README.md

---
 README.md | 40 ++++++++++++++++++++++++++--------------
 1 file changed, 26 insertions(+), 14 deletions(-)

diff --git a/README.md b/README.md
index 8a516ead9..18f018563 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,32 @@ libglog.so will be installed at **/usr/local/lib**
     
 libceres.a will be installed at **/usr/local/lib** and headers at **/usr/local/include/ceres**
 
+### Yaml-cpp. Wolf uses YAML files for configuration and for saving and loading workspaces.
+
+**(1)** Obtain:
+
+  - Ubuntu:
+   
+   `$ sudo apt-get install libyaml-cpp-dev`
+
+  - Mac:
+  
+    `$ brew install yaml-cpp`
+    
+We are shipping the CMAKE file `FindYamlCpp.cmake` together with Wolf. Find it at `[wolf]/cmake_modules/FindYamlCpp.cmake`
+
+**(2)** Configure
+
+  - Ubuntu
+  
+  You need to define an environment variable pointing to WOLF. In your `.bashrc` or `.bash_profile`, add
+  
+  `setenv WOLF_ROOT <your wolf path> # e.g. /home/jsola/dev/wolf`
+  
+  If you are using Eclipse or other GUIs and you want this environment variable to be accessed by them, edit the file `/etc/environment` and add this line:
+  
+  `WOLF_ROOT="<your wolf path>" # e.g. /home/jsola/dev/wolf`
+    
 ### Laser Scan Utils (Optional. Install only if you want to use IRI's laser scan utils)
 
 **(1)** Download:
@@ -134,20 +160,6 @@ Or, in case you don't have permissions:
     $ make
     $ sudo make install
     
-### Yaml-cpp (Optional. Install only if you want to use YAML for parsing your configuration files)
-
-**(1)** Obtain:
-
-  - Ubuntu:
-   
-   `$ sudo apt-get install libyaml-cpp-dev`
-
-  - Mac:
-  
-    `$ brew install yaml-cpp`
-    
-We are shipping the CMAKE file `FindYamlCpp.cmake` together with Wolf. Find it at `[wolf]/cmake_modules/FindYamlCpp.cmake`
-    
 Download and build
 ------------------
 
-- 
GitLab