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:
- Download GLUT 3.7 or newer
- Install it, copy the files to the proper include folders.
- Remove the references to glaux in the source files for your project.
- Remove the gluax.lib reference.
- Add kernel32.lib , user32.lib , gdi32.lib and advapi32.lib under the link references.
- Include the new glut.h
- Rebuild
You can also download the old SDK from here: http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe