From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.66.35 with SMTP id c3mr3692498pat.12.1391815008517; Fri, 07 Feb 2014 15:16:48 -0800 (PST) X-Received: by 10.140.96.37 with SMTP id j34mr55737qge.34.1391815008459; Fri, 07 Feb 2014 15:16:48 -0800 (PST) Path: border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!c10no11896127igq.0!news-out.google.com!s3ni10345qas.0!nntp.google.com!f11no13573657qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 7 Feb 2014 15:16:48 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=78.141.136.55; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 78.141.136.55 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: GPS on MacOS 10.9 doesn't find GTKAda From: Laurent Injection-Date: Fri, 07 Feb 2014 23:16:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:184715 Date: 2014-02-07T15:16:48-08:00 List-Id: 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