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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a2d3086090f41b23 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!i20g2000prf.googlegroups.com!not-for-mail From: tolkamp Newsgroups: comp.lang.ada Subject: Re: Cannot generate code for file gtkada-intl.ads Date: Mon, 26 Jan 2009 04:07:06 -0800 (PST) Organization: http://groups.google.com Message-ID: <54a79dae-8a89-4e30-b677-9df67017d031@i20g2000prf.googlegroups.com> References: <7fcc6176-f0da-4b87-8ba7-a86aede8557b@b38g2000prf.googlegroups.com> NNTP-Posting-Host: 77.249.221.108 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1232971627 28842 127.0.0.1 (26 Jan 2009 12:07:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 26 Jan 2009 12:07:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i20g2000prf.googlegroups.com; posting-host=77.249.221.108; posting-account=nZAcngoAAACcfYM9wDw3w9Z1XR3bObfs User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; InfoPath.1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3496 Date: 2009-01-26T04:07:06-08:00 List-Id: On 25 jan, 21:58, Ludovic Brenta wrote: > tolkamp wrote on comp.lang.ada: > > > To plot results of my project I have installed gtaAda and Win_Io. > > The projectname is test.gpr with the package test_main.adb. > > When I build the executable the following message occurs: > > > gnatmake -PC:\GNAT\bin\test.gpr test_main.adb -d -XGLADE=True - > > XEXTRA=True -XOPENGL=True -XGNOME=True -XBUILD=Production > > gcc -c -gnatec=C:\GtkAda-gpl-2.10.2\src/gnat.adc -gnatQ -O2 -gnatn - > > gnatws -I- -gnatA C:\GtkAda-gpl-2.10.2\src\gtkada-intl.ads > > cannot generate code for file gtkada-intl.ads (package spec) > > to check package spec for errors, use -gnatc > > gnatmake: "c:\gtkada-gpl-2.10.2\src\gtkada-intl.ads" compilation error > > > process exited with status4 (elapsed time: 02.48s) > > > What is wrong in package gtkada-intl.ads? > > The body (gtkada-intl.adb) is missing. This body is generated by a > preprocessor called by the GtkAda makefile. Apparently you did not use > the GtkAda makefile. Are you sure you followed the GtkAda installation > instructions to the letter? > > HTH > > -- > Ludovic Brenta. I have found the file gtkada-intl.ads via Project View in directory: C:\GtkAda-gpl-2.10.2\src. Indeed, the body of the spec is missing. How can the makefile be used to generate the body?