[gtkada] compiling an example

Florian Villoing villoing at enst.fr
Wed Apr 9 14:54:36 CEST 2003


Hello,

I've a problem to compile the "powergnu" example given with gtkada.

The message given by gnat 3.15p is:

longhair:~/src/gtkada/GtkAda-2.0.0/examples/powergnu$ make
gnatmake -m -gnatwu -g -O2 power `gtkada-config`
gcc -c -gnatwu -g -O2 -I/home/longhair/gtkada/include/gtkada power.adb
power.adb:3:09: warning: no entities of "Rgb" are referenced
power.adb:12:11: "Init" not declared in "Rgb"
gnatmake: "power.adb" compilation error
make: *** [power] Erreur 4

It seems that the gdk element are not found. I thought they were include 
   in the gtkada package.

What did I miss ?

Best regards,

Florian




More information about the gtkada mailing list