PDA

View Full Version : Missing lib for program using glut to compile



venTur3
02-11-2001, 11:06 AM
Hi, guys!

I'm trying to compile my first glut program for Linux, and I'm getting the following error at link time:

/usr/lib/libglut.so: undefined reference to 'XmuLookupStandardColormap'

I haven't done any X programming, but this looks like an X function call to me. Does anyone know what lib I need to link to?

Thankee-sai, all!
venTure

02-11-2001, 04:53 PM
Try -lXmu I believe it is libXmu

venTur3
02-12-2001, 04:57 PM
That did the trick! Thanks Woody!

Spoonman
02-13-2001, 07:51 AM
I'm having the same problem, only mine appear to be with all the glut calls themselves(glutInit, glutCreateWidow... etc) Anyone have any idea for those?

-=Nelson=-

chennes
02-13-2001, 10:15 AM
are you using -lglut?

Chris