Advertisement Jump to content
Sign in to follow this  

OpenGL OpenGL is missing functions

This topic is 2689 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm learning OpenGL. I assumed this would be the best section to post this thread, because many games are made in OpenGL. There's no place to post this in my other forum, so yeah, I came here.

Anyways, here's the problem. I first off do not have glut.h I was first following some guy's tutorial, but quit because of missing functions(this video was from 2007). Then, I moved on to XoaX's video, and at first, I was missing glut.h, so I replaced it with

#include <gl/GL.h>
#include <gl/GLU.h>

Still, there were missing functions. I then opened a book I got, and turned to a random page, with a OpenGL function, and tried it, and it wasn't there. The thing is, is that he's using the same compiler, and IDE, and OS as me. I don't understand why it's not working. Not only that, but he didn't tell us to download any SDK, or anything at all.

Thanks for your help you guys.

Share this post

Link to post
Share on other sites
If youre on windows, you need to use an external library, like GLEW, GLee, or GL3W to get access to openGL functions from any version above 1.1

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!