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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder) Date: Sat, 15 Aug 2015 15:34:18 +0200 Organization: cbb software GmbH Message-ID: <17qdu91n9cmlu$.1cj2n257z2dpy.dlg@40tude.net> 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> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 4BHMI6KrzKOstzVu92rACw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:27468 Date: 2015-08-15T15:34:18+02:00 List-Id: 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 ] -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de