comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: Strange behavior of OpenGLUT
Date: Wed, 27 Feb 2013 11:45:27 +0100
Date: 2013-02-27T11:45:27+01:00	[thread overview]
Message-ID: <512de4af$0$17298$703f8584@news.kpn.nl> (raw)
In-Reply-To: <f0430110-bb38-48fe-979b-debab739d93e@googlegroups.com>

I have  the following links in my grp file:

"-LC:\windows\system32", "-LD:\gcc\lib\freeglut", "-lfreeglut"
In the directory D:\gcc\lib\freeglut the file freeglut.lib is found which 
contains the glut.... subprograms according to Libview



"Egil H�vik"  schreef in bericht 
news:f0430110-bb38-48fe-979b-debab739d93e@googlegroups.com...

On Wednesday, February 27, 2013 10:15:52 AM UTC+1, ldries46 wrote:
>
> undefined reference to 'glutSwapBuffers'
>

This looks like a linker error, not a compiler error. You probably need to 
link with glut. I guess you already link with opengl, something along the 
lines of "-lGL", so try to add "-lGLU" or "-lglut" as well. 




  reply	other threads:[~2013-02-27 10:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27  9:15 Strange behavior of OpenGLUT ldries46
2013-02-27  9:36 ` Egil Høvik
2013-02-27 10:45   ` ldries46 [this message]
2013-02-27 10:50     ` Simon Wright
2013-02-27 11:00       ` ldries46
replies disabled

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