Page 1 of 1

Cairo sdk

Posted: Wed Oct 26, 2011 10:43 pm
by YesCop
I am going to create two threads about cairo, one here and one in the developper forum.
I created an account to have some answers that I didn't have elsewhere. In the same time, here I am sure that brothers gods will hear me...
About SDK, I would know why there is no static version of libcairo and some others libraries attached to it (libpixman-1, fontconfig...).
Second, is it possible in the waiting next version of sdk, the cairo library is buld against newer versions of lib like png15.

These remarks could help me to get rid of the warnings I have when I compile a cairo source (see below).
Of course the libz and libpng exist as a plain object or a link.
Naturally, if somebody has a solution now, I will take it.

I have some others (interesting ?) questions about cairo. don't be ashame, go there ! ;)


Code: Select all

ppc-amigaos-gcc -mcrt=newlib -O2 -Wall -I/SDK/Local/common/include/cairo   -c -o test.o test.c
test.c: In function 'main':
test.c:73: warning: 'op' is used uninitialized in this function
ppc-amigaos-gcc -mcrt=newlib -o test -use-dynld test.o -lcairo -lpixman-1 -lpng12 -lz -lfreetype -lfontconfig -lexpat -lpthread
ld: warning:, needed by /SDK/local/newlib/lib/, not found (try using -rpath or -rpath-link)
ld: warning:, needed by /SDK/local/newlib/lib/, not found (try using -rpath or -rpath-link)