[gtkada] cannot find -lgtkada

Adrian Knoth adi at drcomp.erfurt.thur.de
Tue Oct 3 20:12:20 CEST 2006


On Wed, Oct 04, 2006 at 12:00:39AM +0900, Jimmy Ho wrote:

> Under DOS, I get the following error messages or combination of,
> depending on which of the example programs I try to make:
> 
> file "gtk.ads" not found
> file "gdk.ads" not found
> file "gtkada.ads " not found
> Any ideas?

Sure. Set the include-Flags. As I've already mentioned:

adi at drcomp:~$ gtkada-config 
-aI/usr/share/ada/adainclude/gtkada2 -aO/usr/lib/ada/adalib/gtkada2 \
-largs -L/usr/lib -lgtkada2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 \
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender \
-lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 \
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

In other words: use gtkada-config if available.


-- 
mail: adi at thur.de  	http://adi.thur.de	PGP: v2-key via keyserver

Leute, die mehr als ein xterm offen haben, kann man ja wohl sowieso
nicht ernst nehmen.      (Felix von Leitner in dcoul-tng at socha.net)



More information about the gtkada mailing list