BenAnderson.net

a window into my world.
 
 

OpenGL development in Win32 with VS2008 part 2

by Benjamin Anderson 28. November 2008 19:56

One of the issues I’ve run into while looking at tutorials over the last month is that there are several the use the glaux header and lib, which has been deprecated. This isn’t a show stopper, but it does mean that the samples won’t compile straight out of the box.

Two resources I’ve found that help with removing the old references and working around the issue are:

http://forums.microsoft.com/msdn/showpost.aspx?postid=2196012&siteid=1

https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1065518&SiteID=1

The steps are simple:

  1. Download GLUT 3.7 or newer
  2. Install it, copy the files to the proper include folders.
  3. Remove the references to glaux in the source files for your project.
  4. Remove the gluax.lib reference.
  5. Add kernel32.lib , user32.lib , gdi32.lib and advapi32.lib under the link references.
  6. Include the new glut.h
  7. Rebuild

You can also download the old SDK from here: http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Categories: OpenGL | VS2008

Sponser

I review for BookSneeze

About the author

Benjamin is a software developer for an solutions provider in Allen, TX.  He spends his free time playing video games, programming, doing graphics design and photography, and reading.

Page List

    Books I'm Currently Reading

    Pagan Christianity?: Exploring the Roots of Our Church Practices by Frank Viola & George Barna
    Microsoft® .NET Framework Application Development Foundation by Tony Northrup
    Professional Team Foundation Server by Jean-Luc David
    Everyday Greatness by stephen covey
    Programming Pearls by Jon Bentley
    Hacker's Delight by Henry S. Warren
    Flickering Pixels: How Technology Shapes Your Faith by Shane Hipps
    Less Clutter. Less Noise.: Beyond Bulletins, Brochures and Bake Saless Your Faith by Kim Meyer
    Young Guns: The Fearless Entrepreneur's Guide to Chasing Your Dreams and Breaking Out on Your Own by Robert Tuchman
    The Snowball: Warren Buffett and the Business of Life by Alice Schroeder