comp.lang.ada
 help / color / mirror / Atom feed
* GPS on MacOS 10.9 doesn't find GTKAda
@ 2014-02-07 23:16 Laurent
  2014-02-10  0:48 ` John B. Matthews
  2014-02-10  8:35 ` briot.emmanuel
  0 siblings, 2 replies; 5+ messages in thread
From: Laurent @ 2014-02-07 23:16 UTC (permalink / raw)


Hi

I am learning Ada. For the moment a GUI is not really needed for my programs but i was curious and tried the Xadalib-2013 which contains GtkAda and some other things precompiled for MacOS.

Put this in my profile file:

PATH=/usr/local/bin:usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:$PATH
#path for gnat ada compiler + gtkada
export PATH=$PATH:/usr/local/xadalib-2013/bin:/usr/local/gnat/bin:$PATH
export GPR_PROJECT_PATH=/usr/local/xadalib-2013/lib/gnat:$GPR_PROJECT_PATH
export XDG_DATA_DIRS=/usr/local/xadalib-2013/share

When I try to compile this:

with gtkada.gpr

procedure Test is
Begin
    Null;
End Test;

Fails with the message that gtkada.ads can't be found.

This code code from open classroom fails with the message that gtk.ads can't be found.

WITH Gtk.Main ;       USE Gtk.Main ; 
WITH Gtk.Window ;     USE Gtk.Window ; 


PROCEDURE Test01 IS
   win : Gtk_window ;
BEGIN
   Init ; 
   Gtk_New(Win) ;
   Win.show_all ; 
   Main ; 
END Test01 ;

Thanks

Laurent


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-12 20:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 23:16 GPS on MacOS 10.9 doesn't find GTKAda Laurent
2014-02-10  0:48 ` John B. Matthews
2014-02-12 20:18   ` Laurent
2014-02-10  8:35 ` briot.emmanuel
2014-02-12 20:12   ` Laurent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox