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 4 of 4

Thread: open gl red book (files needed?)

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2007
    Location
    england
    Posts
    1

    open gl red book (files needed?)

    Hello I just read through the first two chapters of the open gl red book and it dosent say what libery files I need to include and header files I need to downloadf for it to work. If anyone knows what I need and whare I can obtain it to work with dev-c++ could you please help me.
    Open gl is good...

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: open gl red book (files needed?)

    within dev-c++, use the package manager to download community devpaks, there are several good ones for starting OpenGL : some with glut/freeglut, or SDL, or pure win32...
    Very easy to start.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Oct 2007
    Location
    Phoenix, AZ
    Posts
    110

    Re: open gl red book (files needed?)

    MS Developers Studio?

    I was able to just start calling OpenGL functions from a blank project.
    The MSDN help description for any OpenGL function tells you which header files you need to include.

    To get the extensions to work, I had to download a sample project off the internet. I forget what package it used, but it included a file named extsetup.cpp. Which contained code that would go out and grab the extension functions that were available.

  4. #4
    Member Regular Contributor
    Join Date
    Apr 2007
    Location
    Fairfax, VA
    Posts
    252

    Re: open gl red book (files needed?)

    Just use glew for extentions. One call to glewInit() and you're golden.

    However, you'll have to make sure you have the latest drivers from NVIDIA or ATI if you want to ensure you have all possible extensions for your card.

Posting Permissions

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