On Sun, Feb 18, 2001 at 11:05:34AM +0100, [EMAIL PROTECTED] wrote:
> 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...

As I understand, it is. gdk-pixbuf-config anyway, I assume your typo doesn't transfer 
to your makefile :)
unless you are using the development stuff where it'd be pkg-config --cflags 
gdk-pixbuf-2.0 etc.

>       Thanx,
>               Mano :)


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to