comp.lang.ada
 help / color / mirror / Atom feed
From: Gene <gene.ressler@gmail.com>
Subject: Re: GPS and GTK
Date: Mon, 26 Sep 2011 14:52:33 -0700 (PDT)
Date: 2011-09-26T14:52:33-07:00	[thread overview]
Message-ID: <9654cee3-57dd-477f-8b31-c1b3d470ad40@20g2000yqq.googlegroups.com> (raw)
In-Reply-To: m2ehz311h4.fsf@pushface.org

On Sep 26, 10:40 pm, Simon Wright <si...@pushface.org> wrote:
> "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de> writes:
>
> > Also PATH should contain "C:\GNAT\2011\GtkAda\bin". Beware that GIMP
> > and GPS also come with Gtk binaries, you have to choose the order in
> > which they are loaded. I am usually using GIMP binaries first, because
> > they have more recent versions. But that could be incompatible of
> > course.
>
> I wouldn't know about that.
>
> My first thought (and the way I meant to recommend) was to install
> GtkAda *in the same place as* the compiler, not one level down from it.
>
> I've just tried this, and the installation dialog asks 2 questions: what
> compiler (default C:\GNAT\2011) and where to put GtkAda (default
> C:\GtkAda).
>
> I edited this so that "where to put GtkAda" read the same as the
> compiler location, ie C:\GNAT\2011, and installed.
>
> Now when I go to the demos, for example
> c:\GNAT\2011\share\examples\gtkada\calendar_combo,
> I type just "gnatmake -Pdefault" and the demo builds as expected.

Simon's advice is perfect. It's a pain to set ADA_LIBRARY_PATH and
PATH on every machine you'll ever deal with forever or else add the
copious path information needed in build commands.

In my installation, gtkada.gpr is in lib/gnat .




  reply	other threads:[~2011-09-26 21:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 22:19 GPS and GTK TI Launchpad
2011-09-19  0:04 ` Alex Mentis
2011-09-19  7:46   ` Simon Wright
2011-09-19  7:21 ` Dmitry A. Kazakov
2011-09-26 19:07   ` TI Launchpad
2011-09-26 19:42     ` Dmitry A. Kazakov
2011-09-26 20:40       ` Simon Wright
2011-09-26 21:52         ` Gene [this message]
2011-10-01 22:32           ` TI Launchpad
replies disabled

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