Results 1 to 3 of 3

Thread: whatelse do I need

  1. #1
    Guest

    whatelse do I need

    hi, there,

    when I try to compile a simple code from the red book, I get a error message:

    undefined reference to `OpenAWindowPlease'
    undefined reference to
    KeepTheWindowOnTheScreenForAWhile();

    I've included
    #include <GL/glx.h>
    #include <GL/gl.h>
    #include <stdio.h>
    and linked with -lGL -lGLU

    I wonder whatelse headfiles/libraries do I need? I am using gcc under linux,

    Thanks!!

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2004
    Location
    Long Island, New York
    Posts
    569

    Re: whatelse do I need

    wow....
    ...wow.

    you're trying to compile pseudo-code.

    ...wow.

  3. #3
    Member Newbie
    Join Date
    Jun 2005
    Posts
    42

    Re: whatelse do I need

    There's an appendix in the red book on the GLUT library. You will need to download GLUT(google for it if the redbook doesn't have a link). Use GLUT to manage windows calls like creating a window and detecting keyboard/mouse input.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean