List Info

Thread: Glib and Ciro are ok, but Gtk2 fails




Glib and Ciro are ok, but Gtk2 fails
user name
2006-11-18 23:37:06
Hi again!

I've found the error in the compiler configuration! Glib and
Ciro are 
fine, but Gtk2 fails during the linking process with this
message:

    Creating library blibarchautoGtk2Gtk2.lib and object

blibarchautoGtk2
Gtk2.exp
GdkCairo.obj : error LNK2019: unresolved external symbol 
_cairo_object_from_sv r
eferenced in function
_XS_Gtk2__Gdk__Cairo__Context_set_source_color
PangoCairo.obj : error LNK2001: unresolved external symbol 
_cairo_object_from_sv

PangoCairo.obj : error LNK2019: unresolved external symbol 
_cairo_struct_from_sv
  referenced in function
_XS_Gtk2__Pango__Cairo__Context_set_font_options
PangoCairo.obj : error LNK2019: unresolved external symbol 
_cairo_struct_to_sv r
eferenced in function
_XS_Gtk2__Pango__Cairo__Context_get_font_options
blibarchautoGtk2Gtk2.dll : fatal error LNK1120: 3
unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

I've done some investigation and found

set_source_color in xsGdkCairo.xs
set_font_options in xsPangoCairo.xs
get_font_options in xsPangoCairo.xs

Any ideas on this?

Thanks,
Mario Fischer
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Glib and Ciro are ok, but Gtk2 fails
user name
2006-11-19 12:00:48
On Sun, 19 Nov 2006 00:37:06 +0100
Mario Fischer <klicker-mailgmx.net> wrote:

>Hi again!
>
>I've found the error in the compiler configuration! Glib
and Ciro are 
>fine, but Gtk2 fails during the linking process with
this message:
>
>    Creating library blibarchautoGtk2Gtk2.lib and
object 
>blibarchautoGtk2
>Gtk2.exp
>GdkCairo.obj : error LNK2019: unresolved external symbol

>_cairo_object_from_sv r
>eferenced in function
_XS_Gtk2__Gdk__Cairo__Context_set_source_color
>PangoCairo.obj : error LNK2001: unresolved external
symbol 
>_cairo_object_from_sv
>
>PangoCairo.obj : error LNK2019: unresolved external
symbol 

Hi, I know there is a build order that you must follow when
installing
(upgrading) the libs, and they might need to be rebuilt
again in 
the proper order.

cairo                                                       
                             
glib                                                        
                             
pango                                                       
                             
atk                                                         
                             
gtk2 


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.
html
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Glib and Ciro are ok, but Gtk2 fails
user name
2006-11-19 14:07:37
On Sun, 2006-11-19 at 00:37 +0100, Mario Fischer wrote:

>     Creating library blibarchautoGtk2Gtk2.lib and
object 
> blibarchautoGtk2
> Gtk2.exp
> GdkCairo.obj : error LNK2019: unresolved external
symbol 
> _cairo_object_from_sv r
> eferenced in function
_XS_Gtk2__Gdk__Cairo__Context_set_source_color
> PangoCairo.obj : error LNK2001: unresolved external
symbol 
> _cairo_object_from_sv
> 
> PangoCairo.obj : error LNK2019: unresolved external
symbol 
> _cairo_struct_from_sv
>   referenced in function
_XS_Gtk2__Pango__Cairo__Context_set_font_options
> PangoCairo.obj : error LNK2019: unresolved external
symbol 
> _cairo_struct_to_sv r
> eferenced in function
_XS_Gtk2__Pango__Cairo__Context_get_font_options
> blibarchautoGtk2Gtk2.dll : fatal error LNK1120: 3
unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.

These errors occur because the win32 linker wants all
symbols resolved
at link time, but doesn't find Cairo.lib.  On 2006-09-13, I
committed
the necessary changes to Gtk2's Makefile.PL.  These changes
haven't made
it into any release yet.  I've attached a patch against
1.140 that
should get you going.

-- 
Bye,
-Torsten
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Glib and Ciro are ok, but Gtk2 fails
user name
2006-11-19 14:09:02
On Sun, 2006-11-19 at 15:07 +0100, Torsten Schoenfeld wrote:

> These errors occur because the win32 linker wants all
symbols resolved
> at link time, but doesn't find Cairo.lib.  On
2006-09-13, I committed
> the necessary changes to Gtk2's Makefile.PL.  These
changes haven't made
> it into any release yet.  I've attached a patch against
1.140 that
> should get you going.

The patch was reversed.  Correct one attached.

-- 
Bye,
-Torsten
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )