Sumo-Simulation of Urban Mobility is a traffic simulator. It can be used to analyze the performance of user-defined algorithm. But first pre-requisite is to install the simulator successfully.
The document uploaded here provides step by step guidelines to install the simulator (SUMO) on Linux (Ubuntu 14.04)
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Steps for Sumo installation
1. Simulation of Urban Mobile
Installation Steps
1. Download SUMO source code for Linux platform from the site of DLR - Institute of
Transportation Systems.
Fig 1: Download of SUMO source code
2. Unzip the downloaded file. The extracted in my case is sumo 0.21.0.
3. For convenience, rename it to sumo.
4. Navigate to this renamed directory sumo.
5. Enter the command: ./configure.
Error: configure: error: xerces-lib not found. Specify path with option –with-xerces-
libraries=DIR.
Fig 2: Error 1 during configuring
6. Enter the command on terminal: sudo apt-get install build-essential autoconf automake
libxmu-dev default-jre g++-4.4 libproj-dev libgdal-dev libxerces-c2-dev libfox-1.6-dev
2. Error: The following packages have unmet dependencies:
libgdal-dev : Depends: libxerces-c-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Fig 3: Error 2 during configuring
7. I tried installing required packages individually as shown below:
sudo apt-get install build-essential autoconf automake libxmu-dev default-jre g++-4.4
libproj-dev [successful]
Fig 4: Package installation
sudo apt-get install libgdal-dev [successful]
sudo apt-get install libxerces-c2-dev [successful]
sudo apt-get install libfox-1.6-dev [successful]
8. ./configure [This time it is successful]
9. make [It takes some considerable time. In my case it took more than 20 mins]
10. sudo make install
3. Fig 5: Making install
11. Navigate to src and enter command sumo-gui, which displays gui of this simulation
software.
Fig 6: sumo-gui
Reference:
1. http://www.dlr.de/ts/en/desktopdefault.aspx/tabid-9883/16931_read-41000/
2. http://codingandpatching.blogspot.co.at/2013/12/sumo-simulation-of-urban-mobility-
0190.html
3. http://dmf.unicatt.it/~pollini/sumo_user.shtml