From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: problem getting gtkada to work
Date: Sun, 11 Jun 2006 10:28:08 +0200
Date: 2006-06-11T10:28:04+02:00 [thread overview]
Message-ID: <1x60cw0dvwsus$.1amu0ta99rqjl$.dlg@40tude.net> (raw)
In-Reply-To: 448bd2b9$0$27299$626a54ce@news.free.fr
On Sun, 11 Jun 2006 10:22:20 +0200, Michel Simeon wrote:
> I am learning Ada and would like to use gtkAda.
>
> I tried the exemple below, found in the web:
>
> with Gtk.Main, Gtk.Window;
> procedure Simple is
> W : Gtk.Window.Gtk_Window;
> begin
> Gtk.Main.Init;
> Gtk.Window.Gtk_New(W);
> Gtk.Window.Show(W);
> Gtk.Main.Main;
> end Simple;
>
> I am using Windows XP with GNAT 3.15p, AdaGIDE, and GtkAda 2.4.0
>
> I put -IC:\GNAT\gtkada-2.4.0\include\gtkada as a compiler option in AdaGIDE
> The program compiles, and then I get the following:
>
> 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.
>
> I also tried to compile other exemples that come with the gtkada
> distribution and got exactly the same problem.
>
> Could somebody help with some advise.
Have you specified -mwindows for gnatmake?
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2006-06-11 8:28 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 [this message]
2006-06-11 21:38 ` Maxim Reznik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox