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

Tags:

Categories: OpenGL | VS2008

Sponser

I review for BookSneeze

About the author

Benjamin is a software developer in the DFW area.  He spends his free time playing video games, programming, doing graphics design and photography, and reading.

Month List

Page List

    Widget BookShelf not found.

    The file '/Blog/widgets/BookShelf/widget.ascx' does not exist.X

    Categories

    Tags