Re: Missing object method: new_from_file_at_size

Yes I do. The following patch was applied:

--- gdk-pixbuf/queryloaders.c.orig
+++ gdk-pixbuf/queryloaders.c
@@ -205,6 +205,9 @@ query_module (GString *contents, const c
                         g_fprintf (stderr, "Cannot load loader %s\n", path);
+#ifdef G_OS_WIN32
+        Sleep(50);
         if (module)
                 g_module_close (module);
         g_free (path);

 ... which wasn't explained to me, but I assume it's necessary. It compiled cleanly. No tests were defined, so I just did a 'make install'.

The gtk-demo app's pixbuf demo works:

So I guess it's an issue with the Perl bindings. Any ideas where I should go from here?


On Tue, Oct 21, 2014 at 8:14 AM, Brian Manning <cpan xaoc org> wrote:
On Mon, Oct 20, 2014 at 2:56 PM, Daniel Kasak <d j kasak dk gmail com> wrote:

> *** unhandled exception in callback:
> ***   Can't locate object method "new_from_file_at_size" via package
> "Gtk3::Gdk::Pixbuf" at window/ line 84.
> ***  ignoring at C:/strawberry/perl/site/lib/ line 318.
> Why would that be? It works fine on Linux.

Gdk-Pixbuf is it's own separate set of C libs.  Do you have them
installed on Windows?



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