In the OpenGL SB 5th edition, I managed to figure out how to make the first 4 chapters work, but when I copy and paste the Pyramid.cpp example program into a project, I get a build error. I've created a new empty project and added main.cpp, added freeglut_static.lib and gltools.lib into it, then copied and pasted the code into it and I get these errors.