comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent <daemon2@internet.lu>
Subject: GPS on MacOS 10.9 doesn't find GTKAda
Date: Fri, 7 Feb 2014 15:16:48 -0800 (PST)
Date: 2014-02-07T15:16:48-08:00	[thread overview]
Message-ID: <b6a466b2-bdc9-4759-a02c-72db38b65f20@googlegroups.com> (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


             reply	other threads:[~2014-02-07 23:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 23:16 Laurent [this message]
2014-02-10  0:48 ` GPS on MacOS 10.9 doesn't find GTKAda John B. Matthews
2014-02-12 20:18   ` Laurent
2014-02-10  8:35 ` briot.emmanuel
2014-02-12 20:12   ` Laurent
replies disabled

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