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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,425d51d43921b223 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.50.133 with SMTP id c5mr25004145pbo.2.1317074074712; Mon, 26 Sep 2011 14:54:34 -0700 (PDT) Path: lh7ni5553pbb.0!nntp.google.com!news1.google.com!postnews.google.com!20g2000yqq.googlegroups.com!not-for-mail From: Gene Newsgroups: comp.lang.ada Subject: Re: GPS and GTK Date: Mon, 26 Sep 2011 14:52:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9654cee3-57dd-477f-8b31-c1b3d470ad40@20g2000yqq.googlegroups.com> References: NNTP-Posting-Host: 92.141.48.52 Mime-Version: 1.0 X-Trace: posting.google.com 1317074074 30295 127.0.0.1 (26 Sep 2011 21:54:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 26 Sep 2011 21:54:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 20g2000yqq.googlegroups.com; posting-host=92.141.48.52; posting-account=-BkjswoAAACC3NU8b6V8c50JQ2JBOs04 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C),gzip(gfe) Xref: news1.google.com comp.lang.ada:18138 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-09-26T14:52:33-07:00 List-Id: On Sep 26, 10:40=A0pm, Simon Wright wrote: > "Dmitry A. Kazakov" 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 .