Hi Henk,
2008-11-30 klockan 14:21 skrev Henk te Sligte:
> I bet it has something to do with the linker.. but what do I need to
> specify the right linker flag for pango?
Use the pkg-config files:
$ pkg-config --cflags pango
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
$ pkg-config --libs pango
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
I.e. try something like this:
$ gcc $(pkg-config --cflags pango) ...
Note that there's not only a pango pkg-config file, also one for pangocairo,
pangoft2, pangox, and pangoxft. You should add those as well depending on
what is used by your application.
— Wouter
--
:wq mail uws xs4all nl
web http://uwstopia.nl
if it gets you down · well just don't blame me — queens of the stone age
Attachment:
signature.asc
Description: Digital signature