Sunday, July 28, 2013

OMNET++ インストールメモ Installation Memo

またお世話になるOMNET++ simulator。いろいろ新たな機能、パッケージが多く追加されている。すばらしい。

■SUMOインストールメモ
Installing SUMO with gui on Ubuntu 12.04
Download the latest source: sumo-src-0.15.0.tar.gz.

$ cd Downloads

Prerequisites:
The packages bellow are necessary to build SUMO with gui:
$ sudo apt-get install libgdal1-dev proj libxerces-c2-dev
$ sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev

Ubuntu 12.04 does not ship with libgdal.so, only with libgdal1.7.0.so. So, create a symbolic link:

$ sudo ln -s /usr/lib/libgdal1.7.0.so /usr/lib/libgdal.so

Installation:

$ tar -xzvf sumo-src-0.15.0.tar.gz

Move the decompressed directory to '/usr/local/src':

$ sudo mv -v sumo-0.15.0 /usr/local/src

Enter the source directory and call configure, make and make install:

$ cd /usr/local/src/sumo-0.15.0

$ ./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr --with-proj-gdal

$ make
$ sudo make install

To call SUMO in the command line, type:

$ sumo
or
$ sumo-gui

Thursday, July 04, 2013

Subversionのメモ

レポジトリ作成:
svn create REPO_PATH

% mkdir svn_repos
% svnadmin create svn_repos/