From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!IGoa1zCvZ2SZKvzBOmVS0w.user.46.165.242.75.POSTED!not-for-mail From: Blady Newsgroups: comp.lang.ada Subject: Re: GtkAda on macOS Big Sur Date: Fri, 27 Aug 2021 17:53:15 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <1611e861-1ba8-4004-95bd-f02669061a76n@googlegroups.com> <80a76693-4850-469e-9e37-8a3c12cc6128n@googlegroups.com> <58753498-d2c7-4a24-8604-59c9d950faf8n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="3158"; posting-host="IGoa1zCvZ2SZKvzBOmVS0w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:62557 List-Id: Le 27/08/2021 à 13:16, Gareth Baker a écrit : > Pascal, > > I used the xnadalib-ce-2021 from source force (2021-big-sur folder); GNAT version from the same source (latest version). > > Any GtkAda program I tried has the same issue but the simplest is the terminal hello-world from here: > > https://blady.pagesperso-orange.fr/telechargements/gtkada/gtk-ada.pdf Thanks Gareth for reading despite the tutorial is in French language. I'm confused because the screen captures were actually done with GTKAda CE 2021 on macOS 11. The console icon of the Hello program should appear in the Mac Dock, click on the icon to put the window in front. Is GTKAda installed in /usr/local, see https://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/2021-big-sur/ ? To test it, as shown in tutorial section 1, could you run the GTKAda test program? $ xnadalib=/usr/local/xnadalib-ce-2021 $ cd $xnadalib/share/examples/gtkada/testgtk $ export XDG_DATA_DIRS=$xnadalib/share $ ./testgtk If not good, could you run the GTK test program? % export XDG_DATA_DIRS=/usr/local/xnadalib-ce-2021/share % cd /usr/local/xnadalib-ce-2021/bin % ./gtk3-demo HTH, Pascal.