No subject


Mon Nov 7 12:11:29 CET 2011


> I haven't sucseeded to compile it yet. When it tries to compile
> yasfync_server, it complains that it can't find gtk.ads. If I edit the
> makefile and put 'gktada-config' before 'adasockets-config', it complains
> that it can't find sockets.ads instead. I even tried with the new version of
> gtkada (1.2.11).

I have a program that uses both GtkAda and Adasockets, and I'm really having
trouble getting it to compile and link correctly.

When the problem first cropped up I played around with the two config commands,
trying various permutations of the ordering both with and without the --cflags
and/or --libs options.  I finally got it to work with an entry in my Makefile
that looks like this:

 gnatmake $(ARGS) $@         \
  `adasockets-config` \
  `gtkada-config`     \
  -cargs $(CARGS) -largs $(LARGS)

However, per the quoted message above, it still will not compile on my friend's
system.

Could someone show me the trick for getting GtkAda + Adasockets to work
together?

Thanks,

Bobby Bryant
Austin, Texas






More information about the gtkada mailing list