comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gtkada.gpr usage
Date: Sun, 16 Dec 2012 15:37:43 +0100
Date: 2012-12-16T15:37:43+01:00	[thread overview]
Message-ID: <mjh9nsr3ncah$.1eq83ckmyzcwl.dlg@40tude.net> (raw)
In-Reply-To: 50cdd1b6$0$18189$703f8584@news.kpn.nl

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



  reply	other threads:[~2012-12-16 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16 13:45 gtkada.gpr usage ldries46
2012-12-16 14:37 ` Dmitry A. Kazakov [this message]
2012-12-17  4:36   ` ldries46
2012-12-17  8:28     ` Dmitry A. Kazakov
2012-12-17 16:40       ` ldries46
2012-12-17 17:22       ` J-P. Rosen
2012-12-18  0:19         ` Randy Brukardt
2012-12-18 11:45           ` ldries46
replies disabled

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