Hejsan,
I'm having problems using the gdk-pixbuf loaders under Windows 98.
I have installed all of Tor Lillkvist's precompiled gtk+ suite,
which in general works great. But when I compile and then run
the following program:
#include <gtk/gtk.h> /* To get gtk_init */
int main(int argc, char *argv[])
{
GError *error = NULL;
GdkPixbuf *img;
gtk_init (&argc, &argv);
img = gdk_pixbuf_new_from_file (argv[1], &error);
if (error)
g_error("%s", error->message);
g_message("It worked!\n");
exit(0);
}
It immediately dies with the message:
** ERROR **: Unable to load image-loading module:
C:\CYGWIN\USR\LOCAL\lib\gtk-2.0\2.0.0\loaders\libpixbufloader-png.dll:
failed to open libtool archive
C:\CYGWIN\USR\LOCAL\lib\gtk-2.0\2.0.0\loaders\libpixbufloader-png.la"
aborting...
What are these la files? Do I need them? I looked through all the binary
zip-files provided by Tor, but couldn't find them in any.
In short, what do I need to do to get the program above to work.
Regards,
Dov
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list