Re: problem linking with glu and win32ada
- From: Gautier <gautier@xxxxxxxxxxxxxxx>
- Date: Sun, 06 Apr 2008 21:35:33 +0200
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!
.
- Follow-Ups:
- Re: problem linking with glu and win32ada
- From: Christian Gottschalk
- Re: problem linking with glu and win32ada
- From: Pascal Obry
- Re: problem linking with glu and win32ada
- References:
- problem linking with glu and win32ada
- From: Christian Gottschalk
- problem linking with glu and win32ada
- Prev by Date: problem linking with glu and win32ada
- Next by Date: Re: How to return an empty aggregate
- Previous by thread: problem linking with glu and win32ada
- Next by thread: Re: problem linking with glu and win32ada
- Index(es):