mapnik/demo/c++
Dane Springmeyer 39d199aa49 code formatting
2011-11-13 19:54:32 -08:00
..
build.py scons: rename all SConscript files to more friendly name of 'build' with a python extension for quick syntax detection in editors 2011-08-30 05:32:01 +00:00
Makefile fix demo make file 2011-08-29 22:42:29 +00:00
readme.txt Add a SCons build script for the c++ rundemo sample program, and touchup code and readme, closes #197 2009-03-03 19:28:26 +00:00
rundemo.cpp code formatting 2011-11-13 19:54:32 -08:00

This directory contains a simple c++ program demonstrating the Mapnik C++ API. It mimics the python 'rundemo.py' example with a couple exceptions.

To build it re-configure SCons with DEMO=True then rebuild::

    $ python scons/scons.py configure DEMO=True
    $ python scons/scons.py


The sample program will be compiled (but not installed).


To run::

    $ cd demo/c++
    $ ./rundemo /usr/local/lib/mapnik

For more detailed comments have a look in demo/python/rundemo.py

Have fun!
Artem.