How to compile with Gdk-Pixbuf



Hi!
	I'm trying to learn how to replace ImLib with GdkPixBuf... I included <gdk-pixbuf/gdk-pixbuf.h> (was it right?) and the compilation phase goes ok; but when it links the .o, it gives...

face.o: In function `loadpix':
/home/mano/GnomerMind/src/face.c:98: undefined reference to `gdk_pixbuf_new_from_file'
/home/mano/GnomerMind/src/face.c:99: undefined reference to `gdk_pixbuf_render_pixmap_and_mask'
/home/mano/GnomerMind/src/face.c:100: undefined reference to `gdk_pixbuf_unref'
/home/mano/GnomerMind/src/face.c:102: undefined reference to `gdk_pixbuf_new_from_file'
/home/mano/GnomerMind/src/face.c:103: undefined reference to `gdk_pixbuf_render_pixmap_and_mask'
/home/mano/GnomerMind/src/face.c:104: undefined reference to `gdk_pixbuf_unref'

How can I tell the linker to search them etc. etc? I made the installation scripts basing on those of GnomeHello, but it didn't use Gdk-pixbuf... may you advice me to a program that uses it, so that I can... ahem... 'imitate' its scripts? Or tell me what to change? I tried to add `gtk-pixbuf-config --stuff` to src/Makefile.am, but I guess it's not supposed to work this way...
	Thanx,
		Mano :)
_________________________________________________________________________
Hai perso l'ispirazione? La frase da inviare via SMS te la suggerisce Ciaoweb: 
http://www.ciaoweb.it/sms/public





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]