steps for sumo installation

3
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

Upload: shipra-swati

Post on 25-Jul-2015

159 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Steps for Sumo installation

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

Page 2: Steps for Sumo installation

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

Page 3: Steps for Sumo installation

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.html3. http://dmf.unicatt.it/~pollini/sumo_user.shtml