Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Missing lib for program using glut to compile

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    1

    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

  2. #2
    Guest

    Re: Missing lib for program using glut to compile

    Try -lXmu I believe it is libXmu

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    1

    Re: Missing lib for program using glut to compile

    That did the trick! Thanks Woody!

  4. #4
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    7

    Re: Missing lib for program using glut to compile

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

  5. #5
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    204

    Re: Missing lib for program using glut to compile

    are you using -lglut?

    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •