下载地址:sumo0.19.0
sudo apt-get install libgdal1-dev proj libxerces-c2-dev
sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install g++
如果出现如下错误:
输入:
sudo apt-get update
sudo ln -s /usr/lib/libgdal1.7.0.so /usr/lib/libgdal.so
tar -xzvf sumo-src-0.19.0.tar.gz
sudo mv -v sumo-0.19.0 /usr/local/src
cd /usr/local/src/sumo-0.19.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
sumo
sumo-gui
1、安装sumo make时提示:exec: g++: not found
解决方案:安装gcc-c++
2、安装sumo make时报错
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
重新configure一下即可。