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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: can't compile gtkada program Date: Sat, 13 Sep 2014 10:12:12 +0200 Organization: cbb software GmbH Message-ID: References: <6da36d64-9d19-4c55-8557-f103d3a047c7@googlegroups.com> <87iokvz3nb.fsf@ludovic-brenta.org> <29a73736-5b94-4f43-aa4b-2c111f6159bc@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: ZB2Fb2q1fa4xpMpNKFqV6Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:188993 Date: 2014-09-13T10:12:12+02:00 List-Id: On Fri, 12 Sep 2014 14:56:46 -0700 (PDT), mehdi saada wrote: > I include /usr/share/ada/adainclude and all its subdirectories into the > source directories in GPS, then placed myself into /testada/, then build. [...] You must use project files as described in the documentation or else not use them. See Ludovic's post. When projects are used, the GtkAda project file must be referenced from your project. I don't remember how it was named in 2.24 (gtkada.gpr?). Your project must start with: with "gtkada.gpr"; project ... And, never edit project files using GPS, otherwise than in its text edit window. [ Right mouse click on the project in the project view -> Edit source file. ] -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de