Hi,
It may be a dumb question for someones here. I tested various things but I don't knwow how to compile a very simple program using Cairo.
This program has a few lines and one only include .
I tested what follows with no success.
gcc -o test test.c
gcc -o stroke -I/SDK/local/newlib/include/cairo -I/SDK/local/common/include/cairo -L/SDK/local/newlib/lib -lcairo stroke.c
In my configuration, there is no cairo include in newlib but I put it because pkg-confif told me :
pkg-config --cflags --libs cairo
-I/SDK/local/newlib/include/cairo -L/SDK/local/newlib/lib -lcairo
Any ideas ?
YesCop
PS: I examined a little sdk and I think some files are missing or may be they are at wrong places.
May I wait for sdk 4.1.3?
Tue, 2011-10-18 01:29
#1
Compiling with cairo (closed)