Results 1 to 4 of 4

Thread: I'm new to OpenGL and need help

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2005
    Location
    places
    Posts
    1

    I'm new to OpenGL and need help

    I'm new to OpenGL. I have never used it before, and tried copying a sample program. However, when I try to #include an OpenGL library, it always tells me that it doesn't exist. Could someone please tell me where to download them?

  2. #2
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: I'm new to OpenGL and need help

    What's the name of the file? glui.h? Did your prof just hand out the problem sheet?

    This is a simple include issue, go look for the file you are including check if it's the right one check your include path. etc. etc.

  3. #3
    Senior Member Frequent Contributor yooyo's Avatar
    Join Date
    Apr 2003
    Location
    Belgrade, Serbia
    Posts
    872

    Re: I'm new to OpenGL and need help

    Be more specific... platform, OS, C/C++ compiler...

    Anyway... try http://nehe.gamedev.net and look for tutorials.

    yooyo

  4. #4
    Junior Member Newbie
    Join Date
    Feb 2005
    Posts
    5

    Re: I'm new to OpenGL and need help

    well I just got my code working. Check out: http://www.opengl.org/resources/faq/...g_started.html for some good info on how to get setup and also a link to the glut downloads. you should be able to find the glut.h header somewhere in the stuff downloaded with glut. For the early program I'm working on, stdio.h and glut.h were the only headers i needed. The other two glu and gl were provided by my professor, so I'm not sure where to get that. Be sure to follow the instructions on that page about linking in the libraries to your compiler.
    -Mark

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