mapnik/demo/c++
2012-08-17 09:32:55 -07:00
..
build.py rundemo.cpp - no need to link to boost_program_options - closes #1406 2012-08-17 09:32:55 -07:00
Makefile use default env compiler 2012-04-04 15:17:52 -07: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 include what you use 2012-07-24 18:35:41 -07: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.