Installing/MacOS Build

Basically the build steps are the same as when building under Linux. The easiest way to get the needed libraries is to install MacPorts under /opt/local/, including Fox, GDAL, and Proj. This also includes the openGL-headers. Then, SUMO can be built using:

export CPPFLAGS="$CPPFLAGS -I/opt/local/include"
export LDFLAGS="$LDFLAGS -L/opt/local/lib"
make -f Makefile.cvs
./configure --with-fox=/opt/local --with-proj-gdal=/opt/local \ 
  --with-xerces=/opt/local --prefix=/opt/sumo

Thanks to Katharina Marzok for supplying this information.


If you wish to use embedded Python, you have to modify LDFLAGS:

export CPPFLAGS="$CPPFLAGS -I/opt/local/include"
export LDFLAGS="$LDFLAGS -L/opt/local/lib -lpython2.7"
./configure --with-fox=/opt/local --with-proj-gdal=/opt/local --with-xerces=/opt/local --prefix=/opt/sumo --with-python

Thanks to Sébastien Faye for supplying this information.


This page was last modified on 4 September 2012, at 11:43.