Interesting. First I'd check that the file is intact. Try viewing it with display or evince or some other program capable of viewing the file.
Its in gtk+-2.10.3/demos/
You can also try running the program on some other pngs you might have on your computer.
Try running:
$ gtk+-2.10.3/gdk-pixbuf/gdk-pixbuf-csource --raw --build-list random_name file_name.png > test.h
Or you could go back and try rebuilding libpng. Cause that really does seem to be the root of all your problems.
Hope that helps,
Paul
On 9/25/06, Bill Cunningham <billcm@xxxxxxxxxxx> wrote:
----- Original Message -----
From: "Paul Davis" <pjdavis@xxxxxxxxxxxxxxxxxxxxx>
To: "Bill Cunningham" < billcm@xxxxxxxxxxx>
Sent: Monday, September 25, 2006 9:19 PM
Subject: Re: gtk
> Yeah. That'd make a difference.
>
> Change the first line from:
> prefix=/usr
>
> to
>
> prefix=/usr/local
>
> That should be it.
>
> Paul
Ok Paul I put your script in place of my libpng.pc and made a symlinl
called libpng12.pc to it. I got alot farther in the gtk compilation too. But
then it broke again. Here's a log.
Bill
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list