[cairo] using cairo in c++

John Taber jtaber at johntaber.net
Thu Oct 13 14:23:46 PDT 2005


Bill Spitzak wrote:
> Don't use the #define, instead include <cairo.h> directly along with 
> fltk/x.h. Otherwise your fix looks good. I will get this and a few more 
> cairo calls into the CVS version as soon as possible, unfortunatly that 
> looks like not until next week.

Okay, that works too.  Before the typedef fix I had errors with 
<cairo.h> conflicting with fltk/x.h but now it works (I also put the 
cairo header before the fltk x header if that makes any difference)

btw - debian unstable still has cairo at 1.0.0 - I suspect 1.0.2 has 
lots of fixes - Carl, any chance of that package being pushed along 
(would help lots of people using gtk and gtkmm too)

Now on to the fun part of making some great graphics with Cairo :)



More information about the cairo mailing list