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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e55fdb8831ef53ac,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.tiscali.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!cleanfeed3-b.proxad.net!nnrp8-1.free.fr!not-for-mail From: "Michel Simeon" Newsgroups: comp.lang.ada Subject: problem getting gtkada to work Date: Sun, 11 Jun 2006 10:22:20 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original Message-ID: <448bd2b9$0$27299$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 11 Jun 2006 10:22:17 MEST NNTP-Posting-Host: 82.249.64.131 X-Trace: 1150014137 nnrp8-1.free.fr 27299 82.249.64.131:2098 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:4742 Date: 2006-06-11T10:22:17+02:00 List-Id: 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