Missing lib for program using glut to compile

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

Try -lXmu I believe it is libXmu

That did the trick! Thanks Woody!

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=-

are you using -lglut?

Chris

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.