Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: problem lin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 5645 of 5800
Post > Topic >>

Re: problem linking with glu and win32ada

by Gautier <gautier@[EMAIL PROTECTED] > Apr 6, 2008 at 09:35 PM

It looks like a pragma Im****t(C,...) that should be a pragma
Im****t(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@[EMAIL PROTECTED]
'
> 
> 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!
 




 5 Posts in Topic:
problem linking with glu and win32ada
Christian Gottschalk <  2008-04-06 16:51:18 
Re: problem linking with glu and win32ada
Gautier <gautier@[EMAI  2008-04-06 21:35:33 
Re: problem linking with glu and win32ada
Pascal Obry <pascal@[E  2008-04-06 22:37:15 
Re: problem linking with glu and win32ada
Christian Gottschalk <  2008-04-06 22:40:35 
Re: problem linking with glu and win32ada
Christian Gottschalk <  2008-04-07 01:20:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 19:50:20 CDT 2008.