f 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
But still i am getting error about clang
Can anyone found solution.
--
Work brings profit, but mere talk leads to poverty!