c-free 5.0明明有gl.h头文件,为什么不能运行opengl程序呢,该怎么解决

c-free 5.0明明有gl.h头文件,为什么不能运行opengl程序呢
D:\Program Files\C-Free 5\mingw\include\GL

以上是cfree的安装路径中gl库路径。里面有三个头文件,分别是gl.h glext.h glu.h

------解决方案--------------------
没glut.h吧
------解决方案--------------------
是不是需要加一层GL
#include<GL/gl.h>试试
------解决方案--------------------
那你看下你编译器的头文件路径设置吧