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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2e86351fb0d532e,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!g28g2000pra.googlegroups.com!not-for-mail From: Michael R Newsgroups: comp.lang.ada Subject: GtkAda on Windows: Does anyone have a gtkada.gpr file? Date: Sun, 17 Oct 2010 14:32:25 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 76.126.190.57 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1287351145 30347 127.0.0.1 (17 Oct 2010 21:32:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 17 Oct 2010 21:32:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g28g2000pra.googlegroups.com; posting-host=76.126.190.57; posting-account=iokpWwkAAAC4FdoU8cY5F_WfowBALHIE User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 GTB7.1,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:15566 Date: 2010-10-17T14:32:25-07:00 List-Id: Hi, I've just starting to look at GtkAda on Windows. My Ubuntu system makes it relatively easy by supplying a gtkada2.gpr project file. The standard GtkAda distribution does not supply a project file. The documentation suggest simply add -IC:\GtkAda\include\gtkada to a "gnatmake" command line is all that is needed. This is failing for the simple.adb example: > gnatmake simple -IC:\GtkAda\include\gtkada gcc -c -IC:\GtkAda\include\gtkada simple.adb gnatbind -IC:\GtkAda\include\gtkada -x simple.ali gnatlink simple.ali b~simple.o:b~simple.adb:(.text+0x225): undefined reference to `glib___elabs' b~simple.o:b~simple.adb:(.text+0x22b): undefined reference to `glib_E' b~simple.o:b~simple.adb:(.text+0x231): undefined reference to `gtkada__types___elabs' b~simple.o:b~simple.adb:(.text+0x237): undefined reference to `gtkada__types_E' b~simple.o:b~simple.adb:(.text+0x23e): undefined reference to `gdk__rectangle_E' b~simple.o:b~simple.adb:(.text+0x245): undefined reference to `glib__glist_E' ... I guess I'm obviously missing something here. Anyone have any suggestions? Take care, Michael.