From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder)
Date: Sat, 15 Aug 2015 10:41:37 -0700 (PDT)
Date: 2015-08-15T10:41:37-07:00 [thread overview]
Message-ID: <d863ac25-a074-4a12-ab02-b3ca57e7abc3@googlegroups.com> (raw)
In-Reply-To: <17qdu91n9cmlu$.1cj2n257z2dpy.dlg@40tude.net>
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
next prev parent reply other threads:[~2015-08-15 17:41 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 10:24 GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder) Trish Cayetano
2015-08-10 12:17 ` Dmitry A. Kazakov
2015-08-11 11:15 ` Stephen Leake
2015-08-11 11:52 ` Dmitry A. Kazakov
2015-08-10 14:36 ` Maciej Sobczak
2015-08-12 21:00 ` erlo
2015-08-12 21:48 ` Jeffrey R. Carter
2015-08-13 19:45 ` erlo
2015-08-13 8:58 ` sjaniska
2015-08-13 11:59 ` Dmitry A. Kazakov
2015-08-13 12:09 ` sjaniska
2015-08-13 12:50 ` Dmitry A. Kazakov
2015-08-13 12:56 ` sjaniska
2015-08-13 13:42 ` Dmitry A. Kazakov
2015-08-14 12:59 ` brbarkstrom
2015-08-14 13:26 ` Dmitry A. Kazakov
2015-08-15 9:17 ` Trish Cayetano
2015-08-15 9:32 ` Dmitry A. Kazakov
2015-08-15 10:21 ` ryne rico
2015-08-15 10:29 ` Trish Cayetano
2015-08-15 10:58 ` Dmitry A. Kazakov
2015-08-15 11:47 ` ryne rico
2015-08-15 11:51 ` Pascal Obry
2015-08-15 12:21 ` ryne rico
2015-08-15 12:41 ` Pascal Obry
2015-08-15 12:54 ` Dmitry A. Kazakov
2015-08-15 13:03 ` ryne rico
2015-08-15 13:07 ` ryne rico
2015-08-15 13:34 ` Dmitry A. Kazakov
2015-08-15 17:41 ` Anh Vo [this message]
2015-08-15 19:27 ` Dmitry A. Kazakov
2015-08-16 15:37 ` ryne rico
2015-08-16 16:08 ` Dmitry A. Kazakov
2015-08-17 8:23 ` AdaMagica
2015-08-18 0:14 ` isaac1.0
2015-08-18 7:12 ` Dmitry A. Kazakov
2015-08-18 8:45 ` Jerry
2015-08-19 14:36 ` David Botton
2015-08-27 10:43 ` gautier_niouzes
2015-08-18 17:02 ` Norman Worth
2015-08-18 22:05 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox