comp.lang.ada
 help / color / mirror / Atom feed
From: "Michel Simeon" <michel.simeon1@free.fr>
Subject: problem getting gtkada to work
Date: Sun, 11 Jun 2006 10:22:20 +0200
Date: 2006-06-11T10:22:17+02:00	[thread overview]
Message-ID: <448bd2b9$0$27299$626a54ce@news.free.fr> (raw)

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.

Michel Simeon





             reply	other threads:[~2006-06-11  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11  8:22 Michel Simeon [this message]
2006-06-11  8:28 ` problem getting gtkada to work Dmitry A. Kazakov
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