RE: gdk_pixbuf_new_from_file not recognizing png file format



Hi Tristan,

Thanks for the info the "--disable-modules" was disabling dynamic
loading of the gdk-pixbuf.loaders

I re-built the gtk+ after removing this option - now gtk+ is looking for
the pixbuf loader. However, I get a different error:

(pixmap:2259): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
file '/root/host/arm-linux-elf/etc/gtk-2.0/gdk-pixbuf.loaders': No such
file or directory

How can I point gtk+ to the correct gdk-pixbuf.loaders file, or do I
have to create it manually?

-----Original Message-----
From: Tristan Van Berkom [mailto:tvb gnome org] 
Sent: Thursday, December 21, 2006 9:17 PM
To: Varadaraj Yatirajula (WT01 - IP-Multimedia Carrier & Ent Networks)
Cc: gtk-list gnome org; Krithika Sivakumar (WT01 - IP-Multimedia Carrier
& Ent Networks)
Subject: RE: gdk_pixbuf_new_from_file not recognizing png file format

On Thu, 2006-12-21 at 21:07 +0530, varadaraj yatirajula wipro com wrote:
> Hi,
> 
> The configure options for gtk+ are:
> 
> CC=arm-linux-gcc ./configure --host=arm-linux --build=i386-linux
> --enable-shared --enable-directfb=yes   --enable-xlib=no --without-x
> --with-gdktarget=directfb --without-libtiff   --disable-modules
> --disable-largefile --prefix=$PREFIX
> 
> So it looks like png was not disabled. Then what could be the root
> cause?
> 

I still believe it compiled without libpng, was libpng installed at
the time of configure ? did you look at config.log to see what happened
when gtk+ looked for libpng ?

Another suspicion... what is --disable-modules supposed to do ? will
that disable looking up of backend modules for GdkPixbuf ?

Cheers,
                   -Tristan





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