[gtkada] pbs compiling tutorial-examples

Thomas De Contes d.l.tDeContes at free.fr
Sun Nov 21 20:08:29 CET 2004


i try to learn gtkada with it :-)
http://libre.act-europe.fr/GtkAda/tutorial-examples.tar.gz

but gtkdial and tictactoe don't compile :-(

gtk_dial.adb:93:31: error: no visible subprogram matches the 
specification for "Conversion"
gtk_dial.adb:131:07: error: "Initialize_Widget" is undefined
gtk_dial.adb:223:25: error: expected type "Gfloat" defined at 
glib.ads:64
gtk_dial.adb:223:25: error: found type "Gdouble" defined at glib.ads:65
gtk_dial.adb:263:33: error: "Get_Object" not declared in "Gtk"
gtk_dial.adb:301:38: error: expected type "Guint" defined at glib.ads:61
gtk_dial.adb:301:38: error: found type "Gint" defined at glib.ads:55
gtk_dial.adb:494:22: error: invalid operand types for operator "="
gtk_dial.adb:494:22: error: left operand has type "Guint8" defined at 
glib.ads:72
gtk_dial.adb:494:22: error: right operand has type "Guint" defined at 
glib.ads:61
gtk_dial.adb:504:27: error: invalid operand types for operator "/="
gtk_dial.adb:504:27: error: left operand has type "Gfloat" defined at 
glib.ads:64
gtk_dial.adb:504:27: error: right operand has type "Gdouble" defined at 
glib.ads:65
gtk_dial.adb:633:20: error: invalid operand types for operator "<"
gtk_dial.adb:637:20: error: invalid operand types for operator ">"
gtk_dial.adb:647:29: error: invalid operand types for operator "-"

tictactoe.adb:87:17: error: missing argument for parameter "Type_Name" 
in call to "Initialize_Class_Record" declared at gtk-object.ads:200
tictactoe.adb:155:15: error: "Is_Active" is undefined





i have also an other kind of error with a prgm which was made on 
windows :

gnatlink ed_net.ali -L/Users/thomas/bin/autoinstall/include/gtkada 
-L/Users/thomas/bin/autoinstall/lib -lgtkada 
-L/Users/thomas/bin/autoinstall/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpng12 -lz -lm -lpangoxft-1.0 
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl 
-liconv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may 
result in errors or different symbols being used
symbol _locale_charset used from dynamic library 
/Users/thomas/bin/autoinstall/lib/libiconv.dylib(localcharset.o) not 
from earlier dynamic library 
/Users/thomas/bin/autoinstall/lib/libintl.3.dylib(localcharset.o)
symbol ___eprintf used from dynamic library 
/Users/thomas/bin/autoinstall/lib/libexpat.0.dylib(_eprintf.o) not from 
earlier dynamic library 
/Users/thomas/bin/autoinstall/lib/libtiff.3.dylib(_eprintf.o)
symbol ___eprintf used from dynamic library 
/Users/thomas/bin/autoinstall/lib/libexpat.0.dylib(_eprintf.o) not from 
earlier dynamic library 
/Users/thomas/bin/autoinstall/lib/libpango-1.0.0.dylib(_eprintf.o)
symbol ___eprintf used from dynamic library 
/Users/thomas/bin/autoinstall/lib/libexpat.0.dylib(_eprintf.o) not from 
earlier dynamic library 
/Users/thomas/bin/autoinstall/lib/libglib-2.0.0.dylib(_eprintf.o)
/usr/bin/ld: Undefined symbols:
_gnat__strings_E
collect2: ld returned 1 exit status
gnatlink: cannot call /Users/thomas/bin/autoinstall/ada/derniere/bin/gcc


it is very annoying for me because i have to continue to enhence this 
prgm, it is the 1st reason why i need gtkada

where this error could comes from ??




More information about the gtkada mailing list