Results 1 to 6 of 6

Thread: OpenGL Files

  1. #1
    Guest

    OpenGL Files

    Excuse my lack of knoledge, especially if the answer is something that everyone already knows. I am beginning programming with C++ and OpenGL, but cannot find the actual OpenGL files anywhere on the internet. I am currently using the only one I could find, which is very old. Please direct me to any downloading source and correct my stupidity.

  2. #2
    Senior Member OpenGL Pro sqrt[-1]'s Avatar
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    1,000

    Re: OpenGL Files

    Most compilers (eg. Visual studio and Borland etc) on Windows only come with the necessary files for basic OpenGL 1.1 compiling. For anything above OpenGL 1.1 (on windows) you need to manually load the entry points or use a library to do it for you.
    Recommended:
    http://glew.sourceforge.net/
    or
    http://elf-stone.com/glee.php


    Basic details on this:
    http://www.opengl.org/wiki/index.php/Getting_started

    Also if you are starting OpenGL, there are a few beginner tutorials on the web. A popular one is:
    http://nehe.gamedev.net/

  3. #3
    Senior Member Regular Contributor
    Join Date
    Dec 2005
    Posts
    256

    Re: OpenGL Files

    I think you need these files:
    #pragma comment(lib, "opengl32.lib")
    #pragma comment(lib, "glu32.lib")
    #pragma comment(lib, "glaux.lib")

    Add those lines to your code, or include them under LInk if you are not using Visual C++ from Microsoft.

    [Hey guys, everyone asks this question.
    Can't we place a link to these files in the Wiki?
    (or are they already there?)]


    Hope it helps,
    Rod

  4. #4
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: OpenGL Files

    I bet it is in the wiki, but noone looks there :-/

  5. #5
    Senior Member Frequent Contributor plasmonster's Avatar
    Join Date
    Mar 2004
    Posts
    739

    Re: OpenGL Files

    Sometimes the things right under your nose are the most difficult to see

  6. #6
    Guest

    Re: OpenGL Files

    Wow, that was a quick response. Thank you guys for your help, that should be enough.

    -Richard

Similar Threads

  1. Replies: 2
    Last Post: 10-20-2007, 02:15 PM
  2. i want to get opengl lib files
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-22-2002, 04:54 AM
  3. openGL files.
    By enme in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-09-2001, 11:46 PM
  4. open Gl 1.2 header files and lib files for Windows 2000
    By nes in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-20-2000, 09:55 PM
  5. open Gl 1.2 header files and lib files for Windows 2000
    By nes in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 10-20-2000, 10:57 AM

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