Installing/MacOS Build w Homebrew
generated on 2017-12-19 09:15:31.792420 from the wiki page for Installing/MacOS_Build_w_Homebrew for SUMO 0.32.0
If you come from a previous macports installation you need to uninstall sumo and fox toolkit first:
sudo port uninstall sumo sudo port uninstall fox
If you did not already install homebrew do it by invoking
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
make sure your homebrew db is up-to-date
brew update
Install dependencies
brew install Caskroom/cask/xquartz brew install autoconf brew install automake brew install pkg-config brew install libtool brew install gdal brew install proj brew install xerces-c brew install fox
Set necessary environment variables
export CPPFLAGS="$CPPFLAGS -I/opt/X11/include/" export LDFLAGS="-L/opt/X11/lib"
Get the source code and change to the appropriate directory
cd sumo-<version>
Run autoreconf
autoreconf -i
Run configure
./configure CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=gnu++11" --with-xerces=/usr/local --with-proj-gdal=/usr/local
Build
make -j`sysctl -n hw.ncpu`
Install
make install
After the installation you need to log out/in in order to let X11 start automatically, when calling a gui-based application like "sumo-gui". (Alternatively, you may start X11 manually by pressing cmd-space and entering "XQuartz").
This page was last modified on 6 November 2017, at 12:17.