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 X-Google-Thread: a07f3367d7,6335bb3f8dfd1c4a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.80.41 with SMTP id o9mr1742856pax.4.1356030991966; Thu, 20 Dec 2012 11:16:31 -0800 (PST) Path: 6ni55371pbd.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!news.mi.ras.ru!goblin-spool!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: gtkada.gpr usage Date: Sun, 16 Dec 2012 15:37:43 +0100 Organization: cbb software GmbH Message-ID: References: <50cdd1b6$0$18189$703f8584@news.kpn.nl> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: kWJV5lTRAyCzy8lsfOrlcw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-12-16T15:37:43+01:00 List-Id: On Sun, 16 Dec 2012 14:45:14 +0100, ldries46 wrote: > Various times I tried after recommendation by others to include the "with > gtkada statement in my project file (with GNAT programming studio) > Every time I do get error message like this: > > gnatmake -d -PE:\ada\project\Algemeen\Algemeen.gpr -XLIBRARY_TYPE=static > Algemeen.adb -j4 -s > gnatbind -I- -x E:\ada\project\Algemeen\build\algemeen.ali > error: "gtk.ali" not found, "gtk.ads" must be compiled > error: "glib.ali" not found, "glib.adb" must be compiled > gnatmake: *** bind failed. What happens when you link dynamically? It does not make much sense to link GtkAda statically since Gtk is linked dynamically anyway. And static linking to GtkAda posed problems in the past. > My GNAT GPS installation is on D:\Program files\GNAT\ 2012 and my > GtkADA installation is on D:\program files\GNAT\GtkADA > I do use GPR_PROJECT_PATH with the value D:\Program > Files\2012\lib\gnat;D:\Program Files\GNAT\Gtkada\lib\gnat; > The files are present in the directory D:\Program > Files\GNAT\Gtkada\lib\gnat. It is not the project path but missing compiled instances of GtkAda which make trouble in your case. GtkAda (under Windows) is compiled when you install it. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de