mapnik/demo/c++
Artem Pavlenko 7b73a701b2 1. define BOOST_SPIRIT_THREADSAFE (should be defined in config.hpp??)
to be compatible with the core library.
2. use mapnik install_dir as input argument. 
3. Generate three images as in rundemo.py
2008-01-09 11:48:39 +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 1. define BOOST_SPIRIT_THREADSAFE (should be defined in config.hpp??) 2008-01-09 11:48:39 +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.