[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling OpenGL on Debian



On Wed, 2002-09-04 at 20:10, ThanhVu Nguyen wrote:
> I am trying to compile opengl code and have the following errors 
> 
> gcc -Wall -I/usr/X11R6/include/ -o cube -L/usr/X11R6/lib cube.o -lX11
> -lXi -lXmu -lglut -lGL -lGLU -lm
> /usr/X11R6/lib/libGL.a(glxext.o): In function `__glXGetCurrentContext':
> glxext.o(.text+0x1a): undefined reference to `pthread_key_create'
> glxext.o(.text+0x31): undefined reference to `pthread_getspecific'
> 
> 
> - seems like there's some problem with pthread(?) - anyone programs
> openGL ? what do I miss here ? 

-lpthread maybe?

Claudio



Reply to: