views:

10

answers:

1

I am trying to install the aggdraw python library to create high quality graphics but I keep getting this error:

agg22/include/agg_array.h: In member function `agg::int8u*

What is the workaround for this? How can I install it?

A: 

(Yes I am answering my own question)

After searching a lot through the web I found that doing

export CFLAGS="-fpermissive"   

before building the extension with python setup.py build_ext -i seemed to do the trick.

wallyqs