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,b2e3c95be583034a X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!panix!newsfeed-00.mathworks.com!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: "Paul" Newsgroups: comp.lang.ada References: <87lkbuzkue.fsf@ludovic-brenta.org><0kzBi.28391$4A1.7829@news-server.bigpond.net.au><46d6e47b$0$7556$edfadb0f@dread11.news.tele.dk><46d7d820$0$7685$9b4e6d93@newsspool2.arcor-online.net> <87ps12y3k1.fsf@ludovic-brenta.org> Subject: Re: Ada on Linux X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original Message-ID: <_bSCi.30254$4A1.8413@news-server.bigpond.net.au> Date: Mon, 03 Sep 2007 11:26:50 GMT NNTP-Posting-Host: 124.176.22.28 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1188818810 124.176.22.28 (Mon, 03 Sep 2007 21:26:50 EST) NNTP-Posting-Date: Mon, 03 Sep 2007 21:26:50 EST Organization: BigPond Internet Services Xref: g2news2.google.com comp.lang.ada:1684 Date: 2007-09-03T11:26:50+00:00 List-Id: "Ludovic Brenta" wrote in message news:87ps12y3k1.fsf@ludovic-brenta.org... > > In the Debian Policy for Ada, I strongly recommend you use a project > file for your program. Since you use GtkAda, look at the comments in > /usr/share/ada/adainclude/gtkada2.gpr: these will tell you how to > write your own project file. > > If you follow these guidelines and still have problems, that would be > a good time to start posting detailed error messages so we can help > you further. > > As for the OpenGL component: it requires not only libgtkada-gl-2.8 > (which you probably have installed already) but also it requires > hardware support depending on your particular graphics card, the > proper display driver, and the Mesa libraries (which you probably have > installed already, since libgtkada-gl-2.8 depends on them). If OpenGL > is critically important to you, tell us about your hardware. You may > also be interested in http://dri.freedesktop.org/wiki/. > > -- > Ludovic Brenta. The project file did the trick and my little test window program now compiles, links and runs. It hung on exit but that's another story. I suspect there is cleanup code missing from the autogenerated code. Now I can start experimenting with events/signals to get a better understanding on how to do this with a windowed ada program. wrt Open GL: at this point I'm not overly interested in graphics at this point since my target application is mostly text manipulation and data transmission. I guess my main problem throughout this exercise is a lack of understanding of how the Linux environment works. I'm still looking for a simple primer on the topic. As an example it took me a while to figure out how to use ldconfig properly. I'd like to close off this thread as I have achieved my original aim. Thanks again for your help. Rgds Paul