Talk about a delayed reaction. Good thing I resent it the next day. :) On 12/28/07 T.J. Ferraro wrote: > I'm trying to compile Glib/Gtk 1.162 under win32 using VC7. Glib > compiled fine. Gtk, however, had mixed results. If I compile it against > Gtk2 libraries <= 2.6, it compiles fine. However, anything higher > (because of a clause in the Makefile to use Cairo) and I get: > > PangoCairo.c > xs\PangoCairo.xs(24) : error C2143: syntax error : missing ';' before 'type' > xs\PangoCairo.xs(26) : error C2065: 'callback' : undeclared identifier > xs\PangoCairo.xs(26) : error C2223: left of '->priv' must point to > struct/union > xs\PangoCairo.xs(26) : error C2198: 'Perl_set_context' : too few > arguments for c > all through pointer-to-function > xs\PangoCairo.xs(37) : error C2223: left of '->data' must point to > struct/union > xs\PangoCairo.xs(38) : error C2223: left of '->data' must point to > struct/union > xs\PangoCairo.xs(38) : error C2198: 'Perl_newSVsv' : too few arguments > for call > through pointer-to-function > xs\PangoCairo.xs(42) : error C2223: left of '->func' must point to > struct/union > xs\PangoCairo.xs(42) : warning C4047: 'function' : 'SV *' differs in > levels of i > ndirection from 'int' > xs\PangoCairo.xs(42) : error C2198: 'Perl_call_sv' : too few arguments > for call > through pointer-to-function > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > > Further investigating reveals all of those errors reside in: > ------------------------------------------------------------- > ... > #if PANGO_CHECK_VERSION (1, 17, 0) > > static void > gtk2perl_pango_cairo_shape_renderer_func > ... > ------------------------------------------------------------- > > I was using 1.18.3 pango, so I dropped the version down to 1.16.4. Then, > after reading the mailing list archives, I added SvGKeyFile to the > Glib.exports file and recompiled (linker error, otherwise). This time > everything compiled fine. > > > So until a new version fixes this (?), just using a lower version of > pango seems to be an adequate workaround. > > _______________________________________________ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-perl-list > >
_______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list