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: 103376,587c560422953b80 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Using Gnat Ada and gtkada Glade Date: Tue, 22 Feb 2011 23:40:05 +0100 Organization: A noiseless patient Spider Message-ID: <87sjvfwv5m.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="WQDOJSO/kpPlXnNbibMqrw"; logging-data="14430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WKEo0qwv7365TlHftJMwi" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:sv3Axp86ctdZzDaVSqXNgbte3DE= sha1:BW3D0aI3xWWU9CtQCoBKUpLJcm0= Xref: g2news2.google.com comp.lang.ada:18514 Date: 2011-02-22T23:40:05+01:00 List-Id: Rego writes on comp.lang.ada: > I got a problem like this on Glade-2 for Windows. There is a button to > Build the code, but it returns: > > all.ada:1:01: compilation unit expected > all.ada: parse errors detected > all.ada: chop may not be successful > no compilation units found > no source files written > > But entering the batch, I found out that if one executes > gate-in.exe project.glade > all.ada > gnatchop -w all.ada > it generates the source codes. But it does not generate the > project_main.adb file, what is my issue. > > Maybe you can look for an application like gate-in in your ubuntu > gtkada installation (could be a hint). That would be /usr/bin/gate2, which calls /usr/lib/ada/adalib/gtkada2/bin/gate2-in.exe. -- Ludovic Brenta.