Installing/MacOS Build

generated on 2017-12-19 09:15:31.790701 from the wiki page for Installing/MacOS_Build for SUMO 0.32.0


Using Macports

Note:
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. There is also a Homebrew recipe.


This page was last modified on 16 November 2017, at 09:57.