mapnik/demo/c++
2007-02-27 21:00:41 +00:00
..
readme.txt added readme.txt with build instructions 2006-05-08 20:34:30 +00:00
rundemo.cpp correct font name type (patch from jonb) 2007-02-27 21:00:41 +00:00

This directory contains a simple c++ program demonstrating Mapnik API. It mimics python example with couple exceptions.

To build (using GCC/G++ toolkit):

g++ -O3 -I/usr/local/include/mapnik -I/opt/boost/include/boost-1_33_1 -I/usr/include/freetype2  -L/usr/local/lib -lmapnik rundemo.cpp -o rundemo


To run:

./rundemo

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

Have fun!
Artem.