Installing/MacOS Build

generated on 2015-09-02 00:02:07.732662 from the wiki page for Installing/MacOS_Build for SUMO 0.24.0

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-config=/opt/local/bin/fox-config -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-config=/opt/local/bin/fox-config -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 14 January 2014, at 12:38.