[cairo] Universal Framework for Mac OS X

Neil Mayhew neil_mayhew at users.sourceforge.net
Sun Mar 22 15:33:35 PDT 2009

On 22/3/09 11:09, Andreas Krinke wrote:
> I had a really hard time to create an universal framework for Mac OS X.

You could just use MacPorts instead. This has builds of a huge number of 
open-source projects, including cairo and gtk. It even builds Aqua and 
Quartz versions of GTK and Cairo if you wish, which I have had a lot of 
success with.

For information about using the built libraries in Xcode projects, see 
this Apple Developer article:


The only point they don't mention is that some libraries, including 
cairo, put their headers in a subdirectory of /opt/local/include. You 
can check the details using, eg, pkg-config --cflags cairo.

If you want built libraries that you can distribute to other machines, 
MacPorts can build a variety of universal-binary redistributable 
formats, including .pkg, .mpg and .dmg


More information about the cairo mailing list