[cairo] Getting up and Running with Cairo (OS X)
Baz
brian.ewins at gmail.com
Wed Nov 14 08:56:46 PST 2007
On Nov 14, 2007 3:55 PM, Dominic Lachowicz <domlachowicz at gmail.com> wrote:
> It looks like you're using ' instead of ` to execute an embedded
> command, and that won't work. Try running "pkg-config --cflags --libs
> cairo" from your shell and then paste its results into your "cc -o
> hello" compile line.
Slightly off topic - over on the git mailing list I notice they're
deprecating `...` in their scripts in favour of $(...); it does the
same thing in sh, is easier to read, and nests. So something like...
cc -o hello $(pkg-config --cflags --libs cairo) hello.c
More information about the cairo
mailing list