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!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!not-for-mail Date: Mon, 03 Sep 2007 14:17:29 +0200 From: Poul-Erik Andreasen User-Agent: Icedove 1.5.0.12 (X11/20070607) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada on Linux 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> <_bSCi.30254$4A1.8413@news-server.bigpond.net.au> In-Reply-To: <_bSCi.30254$4A1.8413@news-server.bigpond.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <46dbf8cd$0$47586$edfadb0f@dread11.news.tele.dk> Organization: TDC Totalloesninger NNTP-Posting-Host: 80.166.145.174 X-Trace: 1188821198 dread11.news.tele.dk 47586 80.166.145.174:29136 X-Complaints-To: abuse@post.tele.dk Xref: g2news2.google.com comp.lang.ada:1690 Date: 2007-09-03T14:17:29+02:00 List-Id: Paul wrote: > "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 > > This may bee the place to look for you: http://www.oopweb.com/Ada/Documents/AdaLinux/VolumeFrames.html?/Ada/Documents/AdaLinux/Volume/book.html Poul-Erik Andreasen