Download http://www.antigrain.com/agg.bmp before running this example. Put it into the same folder as the executable and rename it to "agg".