Hello Max
Thanks for the link, after reading the page, I try this

C:\strawberry\cpan\build\Glib-1.321-28apTA>pkg-config --libs gobject-2.0 
glib-2.0
Which gives
-L/mingw32/lib -lgobject-2.0 -lglib-2.0 -lintl
Then
C:\strawberry\cpan\build\Glib-1.321-28apTA>perl Makefile.pl LIBS=":nosearch 
-L/mingw32/lib -lgobject-2.0 -lglib-2.0 -lintl"
C:\strawberry\cpan\build\Glib-1.321-28apTA>dmake

But the linker still fails with
[ LD blib\arch\auto\Glib\Glib.xs.dll ]
C:\STRAWB~1\c\lib/gobject-2.0.lib: error adding symbols: File in wrong format

François


-----Original Message-----
From: gtk-perl-list [mailto:gtk-perl-list-boun...@gnome.org] On Behalf Of 
max.augsb...@gmx.de
Sent: mercredi, 8 juin 2016 23:24
To: gtk-perl-list@gnome.org
Subject: Re: Glib compilation on windows 10

Dear Francois,

I have no idea about installing perl Gtk2 in Windows. But some time ago Zaki 
Mughal posted a very interesting blog entry about installing a Perl
Gtk3 Application on Windows with mysys2. He had a similar error as you and 
perhaps the solution could work for you, too...

Here is the link:

https://project-renard.github.io/doc/development/meeting-log/posts/2016/05/03/windows-build-with-msys2/

I hope this is helpful,
Max


_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to