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.13.203.77 with SMTP id n74mr9739507ywd.35.1439660498058; Sat, 15 Aug 2015 10:41:38 -0700 (PDT) X-Received: by 10.182.120.199 with SMTP id le7mr237128obb.5.1439660498001; Sat, 15 Aug 2015 10:41:38 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!y105no721885qge.1!news-out.google.com!o13ni15919igw.0!nntp.google.com!se8no4362784igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 15 Aug 2015 10:41:37 -0700 (PDT) In-Reply-To: <17qdu91n9cmlu$.1cj2n257z2dpy.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.6.21.101; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 NNTP-Posting-Host: 24.6.21.101 References: <84ecbeb2-095a-4067-a05e-e86ac86d8597@googlegroups.com> <8235925f-3299-48fb-abfe-67b77515e5de@googlegroups.com> <79oew82p4v6b$.hkifjb8uma0z$.dlg@40tude.net> <4a4b82b9-f0a2-48af-9da6-255dfaeeaf6f@googlegroups.com> <13h77fkwqywwh$.1h9cf6ytit6ew$.dlg@40tude.net> <095b91f7-2485-4093-b378-6a3a79a0f864@googlegroups.com> <1mbqd8bcxlrok$.1hg7u98k9zcqw$.dlg@40tude.net> <7ddceec3-77cb-4e54-a6b9-389897925eac@googlegroups.com> <5sxfn4rfyhsw.efs1svewiq3s.dlg@40tude.net> <13sgnrrbptq6a.14noit4g54jvc$.dlg@40tude.net> <1cemeahnwd19t.j2xc6498vn2f.dlg@40tude.net> <1fb6b63b-d9b6-415f-932c-c0b9582b4a4c@googlegroups.com> <1439639491.2624.15.camel@obry.net> <17qdu91n9cmlu$.1cj2n257z2dpy.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder) From: Anh Vo Injection-Date: Sat, 15 Aug 2015 17:41:38 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:27472 Date: 2015-08-15T10:41:37-07:00 List-Id: On Saturday, August 15, 2015 at 6:34:27 AM UTC-7, Dmitry A. Kazakov wrote: > On Sat, 15 Aug 2015 06:07:16 -0700 (PDT), ryne rico wrote: > > > Here is my Default.gpr > > > > with "gtkada.gpr"; > > > > project Default is > > > > for Source_Dirs use ("src"); > > for Object_Dir use "obj"; > > for Main use ("main.adb"); > > > > -- Enable Ada 2005. > > package Compiler is > > for Default_Switches ("ada") use ("-gnat05"); > > ("-gnato", "-gnatVa", "-gnatf", "-g", "-fstack-check", "-gnat05"); > > gnato - Integer checks (Ada standard conformity) > gnatVa - fill validity checks > gnatf - full error reports > g - debug information (for exception trace backs) > fstack-check - stack checks (prevents nasty surprises) > > > end Compiler; > > > > end Default; > > > > but still in my main.adb there's an error: > > > > with Gtk.Box; use Gtk.Box; > > with Gtk.Label; use Gtk.Label; > > with Gtk.Widget; use Gtk.Widget; > > with Gtk.Main; > > with Gtk.Window; use Gtk.Window; > > > > > > Builder results > > C:\Users\MyName\Desktop\Ada workspace\Gui2\src\main.adb > > 1:6 file "gtk.ads" not found > > 2:6 file "gtk.ads" not found > > 3:6 file "gtk.ads" not found > > 4:6 file "gtk.ads" not found > > 5:6 file "gtk.ads" not found > > Open > > Control Panel > System > Advanced system settings > > Press the button > > Environment Variables > > You must have the variable > > ADA_PROJECT_PATH > > That variable must include: > > C:\GtkAda\lib\gnat; > > assuming that GtkAda installation directory is C:\GtkAda > > [ Normally, when you install GtkAda from AdaCore it sets the > ADA_PROJECT_PATH path. So you probably have an installation issue here ] Another option is to use absolute GNAT project path as shown below given that GtkAda is installed at C:\GtkAda with "C:\GtkAda\lib\gnat\gtkada.gpr"; Anh Vo