2009-03-03 19:28:26 +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.
|
2006-05-08 20:34:30 +00:00
|
|
|
|
2009-03-03 19:28:26 +00:00
|
|
|
To build it re-configure SCons with DEMO=True then rebuild::
|
2006-05-08 20:34:30 +00:00
|
|
|
|
2009-03-03 19:28:26 +00:00
|
|
|
$ python scons/scons.py configure DEMO=True
|
|
|
|
$ python scons/scons.py
|
2006-05-08 20:34:30 +00:00
|
|
|
|
|
|
|
|
2009-03-03 19:28:26 +00:00
|
|
|
The sample program will be compiled (but not installed).
|
2006-05-08 20:34:30 +00:00
|
|
|
|
2009-03-03 19:28:26 +00:00
|
|
|
|
|
|
|
To run::
|
|
|
|
|
|
|
|
$ cd demo/c++
|
|
|
|
$ ./rundemo /usr/local/lib/mapnik
|
2006-05-08 20:34:30 +00:00
|
|
|
|
|
|
|
For more detailed comments have a look in demo/python/rundemo.py
|
|
|
|
|
|
|
|
Have fun!
|
|
|
|
Artem.
|