GnomeCanvasPixbuf




Hi all,

I just got the latest gdk-pixbuf out of CVS, as well as
gnome-core and gnome-libs.  I built everything, and I tried
testing GnomeCanvasPixbuf by adding one to the canvas
example program from the online version of Havoc's book[1],

  http://developer.gnome.org/doc/GGAD/z177.html

I hacked in a GnomeCanvasPixbuf item, but it causes
the app to crash on me (with or without _aa on the
canvas).  The app runs fine without the GnomeCanvasPixbuf.

Any suggestions?  Any sample code I should look at?

Other gnome-libs/gnome-core/gdk-pixbuf, I'm running
gtk and everything else from a stock Red Hat 6.1 
install.  I've uploaded the script I used to build
the gnome stuff, my hacked sample app (look for
"MY HACKED IN PIXBUF"), a Makefile, and an image file
in this tarball,

  http://www.bluebutton.com/bugs/canvastest.tar.gz

My PATH and LD_LIBRARY_PATH have the CVS gnome stuff
up front.  Here is ldd from the sample app,

$ ldd canvastest
        libgnomeui.so.32 =>
/usr/local/source/gnomecvs/install/lib/libgnomeui.so.32 (0x40013
000)
        libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x400dd000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40101000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4010a000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40121000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40241000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40273000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40280000)
        libgnome.so.32 =>
/usr/local/source/gnomecvs/install/lib/libgnome.so.32 (0x40324000)
        libgnomesupport.so.0 =>
/usr/local/source/gnomecvs/install/lib/libgnomesupport.so.0 
(0x40339000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0x4033e000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x40345000)
        libdb.so.3 => /lib/libdb.so.3 (0x40357000)
        libart_lgpl.so.2 =>
/usr/local/source/gnomecvs/install/lib/libart_lgpl.so.2 (0x40392
000)
        libm.so.6 => /lib/libm.so.6 (0x403a1000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x403bd000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x403c0000)
        libdl.so.2 => /lib/libdl.so.2 (0x403e2000)
        libgdk_pixbuf.so.1 =>
/usr/local/source/gnomecvs/install/lib/libgdk_pixbuf.so.1 (0x4
03e5000)
        libc.so.6 => /lib/libc.so.6 (0x403f0000)
        libz.so.1 => /usr/lib/libz.so.1 (0x404e3000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libdb.so.2 => /lib/libdb.so.2 (0x404f2000)

One more funny thing, at link time I get,

/usr/bin/ld: warning: libdb.so.2, needed by
/usr/local/source/gnomecvs/install/lib/libgdk_pixbuf.so, may conflict with
libdb.so.3

-Jamie

[1] the dead-tree version is on my Xmas wish list.  :)



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