comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.stuyts.nl (Jerry van Dijk)
Subject: Re: GNAT 3.11, Problems with OpenGL on WinNT (Resend)
Date: 1999/02/13
Date: 1999-02-13T00:00:00+00:00	[thread overview]
Message-ID: <F72LH7.4x@jvdsys.stuyts.nl> (raw)
In-Reply-To: 7a1ikd$aau$1@nnrp1.dejanews.com

mcc@cs.usafa.af.mil wrote:

: We at the Air Force Academy use GNAT 3.11p with OpenGL for our graphics
: course.  We do not use glaux, however.  I do not have that DLL on my
: machine.  I believe we got OpenGL95.exe from Microsoft, and the Ada binding
: from http://www.niestu.com/languages/oglada/#bindings

: For the latter, you need to change pragma Import(C,... to
: pragma Import(Stdcall, ...

In version 3.6 there also were some constant declarations missing in the
Ada binding. I have not yet checked if this has been corrected in the 3.7
version, although I did alert the author.

Also note that you need to build GNAT style .a import libraries.

--
-- Jerry van Dijk       | Leiden, Holland
-- Team Ada/Ada-Belgium | jdijk@acm.org
-- see http://stad.dsl.nl/~jvandyk




      reply	other threads:[~1999-02-13  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-11  0:00 GNAT 3.11, Problems with OpenGL on WinNT Gerald Wilflingseder
1999-02-12  0:00 ` Jerry van Dijk
1999-02-12  0:00 ` Pascal Obry
1999-02-12  0:00 ` GNAT 3.11, Problems with OpenGL on WinNT (Resend) mcc
1999-02-13  0:00   ` Jerry van Dijk [this message]
replies disabled

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