mapnik/demo/c++
2008-01-08 21:09:16 +00:00
..
Makefile + added GNU autotools build environment 2007-09-14 23:07:16 +00:00
readme.txt applied patch from Jochen : 2007-12-16 12:33:28 +00:00
rundemo.cpp - added exception handling 2008-01-08 21:09:16 +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 -I../../agg/include -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.