Just as a quick request, next time you have a problem with compilation if you could post the compiler errors as well it makes it a bit easier since most of the time it's something obvious.

Check out http://nehe.gamedev.net for some helpful tips for OpenGL