Installing/MacOS Build w Homebrew

generated on 2016-11-01 01:15:32.092180 from the wiki page for Installing/MacOS_Build_w_Homebrew for SUMO 0.28.0

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 gdal
brew install proj
brew install xerces-c
brew install homebrew/x11/fox

Set necessary environment variables

export CPPFLAGS="$CPPFLAGS -I/opt/X11/include/"
export LDFLAGS="-L/opt/X11/lib"

Run configure

./configure CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=gnu++11" --with-xerces=/usr/local --with-proj-gdal=/usr/local

Build

make -j8

Install

make install

This page was last modified on 26 January 2016, at 10:41.