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!feed.tweaknews.nl!not-for-mail From: Ludovic Brenta 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> Date: Sat, 01 Sep 2007 14:26:38 +0200 Message-ID: <87ps12y3k1.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:fcVj2CJ6iThXBC4x8FcAgqf1+es= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tele2 X-Trace: DXC=ohRBNZTM74]G>D9`j;4j^X6`Y6aWje^YZ=P^TGeKPA7P Paul writes: > I'm very pleased to say I've had some success. Following Georg's suggestion > below I have managed to get the testgdk program compiled and running > although it will not run the Open GL component - something to follow up on. > My final problems have been with paths, shared libraries and the like but > I'm making progress. I'm going to stop for a bit and rewrite all my notes > including various suggestions from contributors to my dilemma so I can > recreate this again. > > My own little test program fails with a gazillion link errors so obviously I > haven't got the paths sorted yet. Kind of reminds me of my days at uni in > the 80's running pascal compilation assignments on the mainframe and having > to collective the pages of error printout the next day. I was so pleased > when the college started Turbo Pascal. > > Thanks again for all your help. 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.