mapnik/demo/c++
2010-08-26 01:21:47 +00:00
..
Makefile + mapnik-rundemo-with-cairo.patch (jonb) 2009-01-15 22:53: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 + fix naming style in mapnik::Map 2010-06-25 15:23:35 +00:00
SConscript fixes for building on solaris and opensolaris, in addition to automatic running of ldconfig (will benefit builds on linux and fail silently otherwise) 2010-08-26 01:21:47 +00: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.