2009-03-03 20:28:26 +01:00
|
|
|
This directory contains a simple c++ program demonstrating the Mapnik C++ API. It mimics the python 'rundemo.py' example with a couple exceptions.
|
2006-05-08 22:34:30 +02:00
|
|
|
|
2009-03-03 20:28:26 +01:00
|
|
|
To build it re-configure SCons with DEMO=True then rebuild::
|
2006-05-08 22:34:30 +02:00
|
|
|
|
2009-03-03 20:28:26 +01:00
|
|
|
$ python scons/scons.py configure DEMO=True
|
|
|
|
$ python scons/scons.py
|
2006-05-08 22:34:30 +02:00
|
|
|
|
|
|
|
|
2009-03-03 20:28:26 +01:00
|
|
|
The sample program will be compiled (but not installed).
|
2006-05-08 22:34:30 +02:00
|
|
|
|
2009-03-03 20:28:26 +01:00
|
|
|
|
|
|
|
To run::
|
|
|
|
|
|
|
|
$ cd demo/c++
|
|
|
|
$ ./rundemo /usr/local/lib/mapnik
|
2006-05-08 22:34:30 +02:00
|
|
|
|
|
|
|
For more detailed comments have a look in demo/python/rundemo.py
|
|
|
|
|
|
|
|
Have fun!
|
|
|
|
Artem.
|