Re: Extents under rotation

Cedric Roux <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 12/11/2013 12:17 PM, Donn wrote:
> On 11/12/2013 10:57, Cedric Roux wrote:
>
>> gcc `pkg-config --cflags --libs cairo` uli_test.c -o test
>> (backquote)
> Gives me the same undefined reference errors as my version.
>
>> or maybe just simply try: gcc uli_test.c -o test -lcairo
>
> $ gcc uli_test.c -o test -lcairo
> uli_test.c:1:19: fatal error: cairo.h: No such file or directory
> #include <cairo.h>
>
>
> I have /usr/include/cairo/cairo.h so that's odd.
>
> \d

try: gcc uli_test.c -o test `pkg-config --cflags --libs cairo`
(the `` stuff at the end)
or (maybe): gcc uli_test.c -o test -lcairo -I/usr/include/cairo
the idea is to put the lib after your code on the command line
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.