comp.lang.ada
 help / color / mirror / Atom feed
From: "Paul" <pcas1986@bigpond.net.au>
Subject: Re: Ada on Linux
Date: Mon, 03 Sep 2007 11:26:50 GMT
Date: 2007-09-03T11:26:50+00:00	[thread overview]
Message-ID: <_bSCi.30254$4A1.8413@news-server.bigpond.net.au> (raw)
In-Reply-To: 87ps12y3k1.fsf@ludovic-brenta.org


"Ludovic Brenta" <ludovic@ludovic-brenta.org> 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 





  reply	other threads:[~2007-09-03 11:26 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-28 12:28 Ada on Linux Paul
2007-08-28 13:23 ` Jean-Pierre Rosen
2007-08-28 15:50   ` Dmitry A. Kazakov
2007-08-29 19:36   ` Alex R. Mosteo
2007-08-30  8:04     ` Jean-Pierre Rosen
2007-08-28 15:24 ` Georg Bauhaus
2007-08-28 19:41   ` Ludovic Brenta
2007-08-29  9:37 ` Paul
2007-08-29 10:38   ` Ludovic Brenta
2007-08-30 13:09     ` Paul
2007-08-30 15:49       ` Poul-Erik Andreasen
2007-08-31  6:11         ` Paul
2007-08-31  9:03           ` Georg Bauhaus
2007-08-31 10:45             ` Ludovic Brenta
2007-08-31 17:04               ` Pascal Obry
2007-09-01  8:58             ` Paul
2007-09-01 12:26               ` Ludovic Brenta
2007-09-03 11:26                 ` Paul [this message]
2007-09-03 11:47                   ` Ludovic Brenta
2007-09-03 12:17                   ` Poul-Erik Andreasen
  -- strict thread matches above, loose matches on Subject: below --
2000-04-26  0:00 ada on linux muscley2k
2000-04-27  0:00 ` David Freshwater
2000-04-27  0:00 ` Pascal Obry
2000-05-23  0:00 ` Richard Pinkall-Pollei
2000-05-24  0:00   ` Robert Dewar
2000-05-24  0:00     ` Richard D Riehle
2000-05-24  0:00       ` Robert Dewar
2000-05-24  0:00     ` dale
2000-05-24  0:00       ` Robert Dewar
2000-05-24  0:00         ` Larry Kilgallen
2000-05-25  0:00           ` Robert Dewar
2000-05-25  0:00             ` Ted Dennison
2000-05-25  0:00               ` Larry Kilgallen
2000-05-24  0:00       ` Geoff Bull
2000-05-24  0:00     ` David C. Hoos, Sr.
2000-05-30  0:00     ` Richard Pinkall-Pollei
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox