Installing/MacOS Build
generated on 2017-09-14 00:32:31.598316 from the wiki page for Installing/MacOS_Build for SUMO 0.31.0
Caution:
MacOS installation via macports is broken since sumo version 0.29.0 due to an external problem with the GUI library provided by macports. We recommend to install SUMO following the homebrew installation guide.
MacOS installation via macports is broken since sumo version 0.29.0 due to an external problem with the GUI library provided by macports. We recommend to install SUMO following the homebrew installation guide.
You should start by installing Macports. Afterwards start a terminal session and run
sudo port install sumo
While this will install a SUMO version you maybe do not want to use, it will pull in all dependencies you need.
If you want to build from a svn checkout you should additionally do
sudo port install automake autoconf
After obtaining the required libraries you can follow the build steps of building under Linux, you might want to add another --prefix=/opt/sumo to the configure line.
If you wish to use clang rather than gcc for compilation do:
./configure CXX=clang++ CXXFLAGS="-stdlib=libstdc++"
Thanks to all MacOS builders for sharing their insights.
There is also a Homebrew recipe and a separate page for building with Homebrew.
This page was last modified on 22 March 2017, at 00:49.