gdk-pixbuf problems

gdk-pixbuf problems

Post by wackma » Tue, 04 Feb 2003 20:41:56



Hey all,

I'm having one hell of a problem with gdk-pixbuf. I have it all
installed but nothing can see that it's there. I'm running Linux From
Scratch (one of those where everything is compiled from source).

Here's how I have everything set up:

Gnome 2 is in /opt/gnome2
Gnome libs are at /opt/gnome2/lib
gtk libs are at /opt/gnome2/lib
gtk prefix is /opt/gnome2
gdk prefix (as reported by gdk-pixbuf-config) is /opt/gnome2

Here's the thing, though:

My GTK includes are at /opt/gnome2/include/gtk-2.0
pixbuf includes are at /opt/gnome2/include/gtk-2.0/gdk-pixbuf

Configure script for the programs I'm trying to get to work are looking
for gdk-pixbuf/gdk-pixbuf.h I can see that the file is located at
/opt/gnome2/lib/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h on my system.
I thought, maybe it was getting tripped up because the gtk directory is
gtk-2.0 and not just gtk, so I symlinked it - that didn't work. So I
symlinked the gdk-pixbuf directory so it was in /opt/gnome2/libs - that
didn't work. I even tried symlinking it to /usr/include (thought it may
be more accessible). Nothing is working. I've even tried to recompile
gtk-2.1.5 (which comes with gdk-pixbuf), but things still didn't get set
up right.

If anyone can help, I will name my first born child after you in
repayment. Well, as long as your name isn't * or something absurd
like that.

Thanks to all.

Wackman

 
 
 

1. Display images using Gtk/Gdk/Gdk-pixbuf

Hi,

I'm currently working on an simple image viewer application that will be
  extended with some quite specific features later on.
I decided to use Glade to produce the structure and Gdk and Gdk-pixbuf
for image loading etc.
Since this is my first try with gtk/gdk etc I'm getting quite confused
about the different kinds of image structures.
Having successfully loaded a pixbuf using gdk_pixbuf_new_from_file I'm
wondering how to make it show in a specific GtkPixmap (or GtkImage).
I tried to use gdk_pixbuf_render_pixmap_and_mask to render the pixbuf to
the pixmap that was previously created in the code produced by glade,
but nothing happens ;(

Can anybody give me a hint about how to visualize a pixbuf in a
GtkPixmap or GtkImage?

thanks in advance

Andy

Gtk 1.2
Gdk-pixbuf 0.10.0

2. Netscape .lock file

3. A problem with gdk-pixbuf/GNOME panel

4. u

5. gdk-pixbuf (Gnome) compile error on Solaris

6. ifhp & solaris 2.6

7. Gnome installation: gdk-pixbuf/libbonoboui conflict

8. newbie: scsi question

9. can't install gdk-pixbuf in redhat

10. Can't install gdk-pixbuf in redhat

11. libjpeg shared object for gdk-pixbuf

12. Compiling GNOME - Compiler can't find GDK-Pixbuf

13. gdk-pixbuf (Gnome) compile error on Solaris