Re: GLX and undefined references

2002-11-12 Thread Roman Joost
On Mon, Nov 11, 2002 at 01:53:09PM -0800, Eric G. Miller wrote: On Mon, Nov 11, 2002 at 10:38:14PM +0100, Roman Joost wrote: [snip] gcc lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm You probably need to add -lX11 for any X proggy (and maybe others). It helps me, but i get

Re: GLX and undefined references

2002-11-12 Thread Danie Roux
Roman Joost wrote: It helps me, but i get some other undefined references. Don't know on which they depend, but: gcc -Wall -pedantic -ansi lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lX11 -lXext -lm -lXxf86vm /usr/X11R6/lib/libGL.a(glxext.o)(.text+0x1a): In function

GLX and undefined references

2002-11-11 Thread Roman Joost
I want to compile a tutorial from gamedev.net - exactly this link: http://nehe.gamedev.net/tutorials/linuxglx/lesson06.tar.gz I get a lot of undefined references like: F86VidModeGetGammaRamp': : undefined reference to `_XReply' /usr/X11R6/lib/libXxf86vm.a(XF86VMode.o)(.text+0x23d8): In function

Re: GLX and undefined references

2002-11-11 Thread Eric G. Miller
On Mon, Nov 11, 2002 at 10:38:14PM +0100, Roman Joost wrote: [snip] gcc lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm You probably need to add -lX11 for any X proggy (and maybe others). -- static const char signature[] = Copyright (c) 2002 Eric G. Miller [EMAIL