comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier@fakeaddress.nil>
Subject: Re: problem linking with glu and win32ada
Date: Sun, 06 Apr 2008 21:35:33 +0200
Date: 2008-04-06T21:35:33+02:00	[thread overview]
Message-ID: <47f92602$1_6@news.bluewin.ch> (raw)
In-Reply-To: <ftao74$o47$1@online.de>

It looks like a pragma Import(C,...) that should be a pragma Import(Stdcall,...).
The better is to use the GL, GLU & GLUT bindings from GLOBE_3D there:
   http://www.mysunrise.ch/users/gdm/g3d.htm
You even don't need win32ada for that :-).
Gautier

Christian Gottschalk wrote:
> Hi,
> 
> I'm using the following:
> GNAT GPL 2007-2
> Windows 2000
> win32ada
> 
> When with'ing win32.glu, I get a Linker error:
> i:\progra~1\gnat\2007\lib\win32ada/libwin32ada.a(win32-glu.o):win32-glu.adb:(.text+0x7b): 
> 
> undefined reference to `gluErrorString@4'
> 
> objdump tells me that there is indeed a call to gluErrorString in
> libwin32ada. Just how do i get it to resolve the name? -glu32 is given
> in the linker options for both my project and win32ada.
> 
> Ciao,
>     Christian
______________________________________________________________
Gautier         -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



  reply	other threads:[~2008-04-06 19:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 14:51 problem linking with glu and win32ada Christian Gottschalk
2008-04-06 19:35 ` Gautier [this message]
2008-04-06 20:37   ` Pascal Obry
2008-04-06 20:40   ` Christian Gottschalk
2008-04-06 23:20 ` Christian Gottschalk
replies disabled

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