Installing/MacOS Build
Jump to navigation
Jump to search
Contents
Using Macports
Note:
This uses a packaged version of sumo which is convenient but may lag behind the latest official release of SUMO.
This uses a packaged version of sumo which is convenient but may lag behind the latest official release of SUMO.
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 repository 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.
Using Homebrew
By building SUMO from sources you can be sure to make use of the latest version. For detailed instructions, see building with Homebrew.