how to compile GdkPixbuf



hi

I'm trying to use GdkPixBuf to save a pixmap to a jpeg file... I included <gdk-pixbuf/gdk-pixbuf.h> (was it right?) and the compilation phase goes ok; but when it links the .o, it gives...

undefined reference to `gdk_pixbuf_new_from_file'
undefined reference to `gdk_pixbuf_render_pixmap_and_mask'
undefined reference to `gdk_pixbuf_unref'

How can I tell the linker to search them etc. etc?

And i am using gtkmm-1.2.10, gtk-1.2.10 , libsigc++-1.0

thanking you

vishal modak







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