Sign in to follow this  

Is this a problem?(about GL compling)

Recommended Posts

After installing OpenGL, I found a prpblem. When I include gl.h in the directory /%complier/include/GL, many errors pop up. If I remove the file, then everything works ok!!Why this happen?I am so confused My /%complier/include/GL have the following files, glew.h,,glu.h,glut.h My sequence including the file is: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <GL/glew.h> #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h>

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this