On 23.05.2018 11:03, gtk-perl-list TalkVideo net wrote:
A single-line Perl command like: perl -e "use Gtk3;" Results in the following error: cannot make GdkRectangle synonymous to the unregistered type CairoRectangleInt at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479.
Haven't seen that one before. The only possible reasons I can think of are: a) Cairo::GObject is linked against a different cairo-gobject library than the one Gtk3/Glib::Object::Introspection see at runtime, or b) there's a race condition between the BOOT section in Cairo::GObject and the import sub in Gtk3.
With the attached patches, what's the output of "perl -e'use Gtk3'" on your system?
On mine, it is: # perl -e'use Gtk3' Cairo::GObject: registering 94192984588768 (CairoRectangleInt) Glib: trying to look up 94192984588768 (CairoRectangleInt)
Attachment:
cairo-debug.patch
Description: Text Data
Attachment:
glib-debug.patch
Description: Text Data