Troubleshooting (displaying images across different machines)



My gtk program is loading images for me on one Linux box (with Gtk 2.6.7), but not another (different distribution w/Gtk 2.6.4).

If I do a "make; make install" on my computer, it gets some user input and displays graphics (mostly a table of images) in the main window.

On the other computer, everything but the images seems to be working. It displays the broken image symbol for a spacer png, and doesn't display the main table at all. (I went through and manually checked that it was loading the correct files, and checked that there were files at that location). All the files are png's made with Gimp 2.2.7 (compression turned off, otherwise default options). Images are created with gtk_image_new_from_file(filename) [displays the broken image icon] or a two-step gdk_pixbuf_new_from_file(filename, NULL) and gtk_image_new_from_pixbuf(master_icons[icon_id]) [doesn't display anything].

How should I go about troubleshooting either the other computer or my program? Does this sound like a problem with my program, the other computer's Gtk installation, or something else?

(My source at http://haywardfamily.org/jonathan/gtk_tms.tgz , if it sounds like my program has problems running with a sane distribution)

TIA,
--
++ Jonathan Hayward, jonathan hayward pobox com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

** If you'd like a Google Mail (gmail.com) account, please tell me!

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