comp.lang.ada
 help / color / mirror / Atom feed
From: "Anderson" <anderson@wa.apana.org.au>
Subject: Re: OpenGL
Date: 2000/05/29
Date: 2000-05-29T00:00:00+00:00	[thread overview]
Message-ID: <3931c9e5@news.wa.apana.org.au> (raw)
In-Reply-To: 392b7034@news.wa.apana.org.au

I found out that some enviromental varibles needed to be set first,

set ada_include_path=G:\adaold\bindings\glut-3.7
set ada_objects_path=G:\adaold\bindings\glut-3.7

which I put in a bat file before loading GNAT

Also I noted that the GLUT.DLL need to be changed to another which suppored
ADA.

Thanks eveybody.

"Anderson" <anderson@wa.apana.org.au> wrote in message
news:392b7034@news.wa.apana.org.au...
> I can not get the ada Opengl sample package at
> http://www.niestu.com/languages/oglada/ to work in GNAT (win98).
> For example when try to run the fog.adb ie retruns this message when
> building
> ...
> ./glut.o: In function 'glut glutcreatewindow$2:
> F:/open ada/test/f:/openad~1/test/glut.adb:29:undefined reference to
> 'glutCreatWindow'
> ./glut.o: In function 'glut glutinitdisplaystring$2:
> f:/open ada/test/f:/openad~1/test/glut.adb:29: undefined reference to
> 'glutInitDisplayString'
> ... (and so on for every gl function/procedure it uses)
>
> Now I do have the gl and glut files in the folder f:/open
> ada/test/f:/openad~1/test/.
>
> Also how do you use a makefile in GNAT?
>
>






  parent reply	other threads:[~2000-05-29  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-23  0:00 OpenGL Anderson
2000-05-24  0:00 ` OpenGL Pascal Obry
2000-05-24  0:00   ` OpenGL Pascal Obry
2000-05-29  0:00 ` Anderson [this message]
2000-05-29  0:00   ` OpenGL Robert Dewar
2000-05-29  0:00     ` OpenGL Tarjei Tj�stheim Jensen
2000-05-29  0:00       ` OpenGL Robert Dewar
2000-05-29  0:00       ` OpenGL Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
2000-10-07  0:00 opengl Etienne
replies disabled

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