I am developing an application which makes use of OpenGL. In order to do so, I’d really like to dig and debug GLUT in order to see the source code that is called under each function of GLUT and debug it.
I’ve downloaded the source files of GLUT, which come with a Makefile, however Visual Studio 2010, when trying to convert it fails. I’ve googled for this but no one seems to explain how to do it, with the disadvantage that GLUT is quite old.
Does anybody know how can I add GLUT as a project into Visual Studio (I prefer 2010) in order to debug it while running applications which make use of GLUT functions?
Use freegult – it comes with a Visual Studio 2008 and Visual Studio 2010 solution and project files. So it should be rathter easy for you to integrate it into your project. Freegult provides the same API as the original GLUT lib written by Mark Kilgard.