Try the following:
(1)go to the system or system 32 directory and make sure there is a dll titled glaux.dll or glaux32.lib there.
(2) go to vc++ and open your project. Go to Project->Settings->Link and add the following to the edit box (Object/Library modules):
glaux.lib or glaux32.lib.
(3) you will also have to #include “gl/glaux.h”. Assuming that you have glaux.h in the gl directory undre vc98 include directory.