Re: make errors for GTK+-2.2.1



Hi,

"Luong, Natalie N" <natalie n luong lmco com> writes:

> I am trying to build this version of GTK+2.2.1 (using framebuffer).
> I am trying to see first if I can do it on my x86 Linux machine
> before I try the to cross-compile to my embedded PPC machine.
>
> I first run "configure":
>
> ./configure --prefix=/tmp/guidrivers-x86 --with-gdktarget=linux-fb
> --without-libtiff --without-libjpeg --without-libpng
>
>
> I then run "make"
> I get the error:
> "failed to load "./stock_add_16.png": Couldn't recognize the image file
> format for file './stock_add_16.png'"
> (See below for the partial output of the make process).
> Does the gdk-pixbuf-csource  executable require the "png" library?

You need gdk-pixbuf-csource with support for PNG files in order to
build GTK+. You can omit PNG support on the cross-compile if you are
sure you don't need it, but you absolutely need PNG support to be able
to build GTK+. This is because the built-in stock icons are created
from PNG files.


Sven



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