comp.lang.ada
 help / color / mirror / Atom feed
From: Maxim Reznik <reznikmm@front.ru>
Subject: Re: problem getting gtkada to work
Date: Sun, 11 Jun 2006 21:38:45 +0000 (UTC)
Date: 2006-06-11T21:38:45+00:00	[thread overview]
Message-ID: <20060611213845.GA11085@ws.max.zp.ua> (raw)
In-Reply-To: <448bd2b9$0$27299$626a54ce@news.free.fr>

On Sun, Jun 11, 2006 at 10:22:20AM +0200, Michel Simeon wrote:
> gnatlink -g simple.ali
> :\GNAT\gtkada-2.4.0\include\gtkada\\libgtkada.a(misc.o.b)(.text+0x327f:1:
> undefined reference to `SetCursorPos@8'
> gnatlink: cannot call C:\GNAT\bin\gcc.exe
> gnatmake: *** link failed.
>
Follow this thread 
http://lists.adacore.com/pipermail/gtkada/2005-March/003268.html

In short you need to fix gtk.ads file.
Add line
   pragma Linker_Options ("-luser32");
After
private
   pragma Linker_Options ("-lgtkada");

-- 
Maxim Reznik




      parent reply	other threads:[~2006-06-11 21:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11  8:22 problem getting gtkada to work Michel Simeon
2006-06-11  8:28 ` Dmitry A. Kazakov
2006-06-11 21:38 ` Maxim Reznik [this message]
replies disabled

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