'glGenBuffers': identifier not found error

‘glGenBuffers’: identifier not found

I am sure this question has been asked multiple times, but even after searching online, I didn’t quite understand how to fix the problem (though, I think I understand what the problem is).

I am using C++ & qt and the compiler gives me this error. Can someone please point out how to fix this error?

My include: #include <QGLWidget>

Also, I tried seaching for glext.h but couldn’t locate it on my system.

(PS: I am trying to use VBOs)

you might want to install glee, to get some opengl extensions supported ( http://www.opengl.org/sdk/libs/GLee/ ).

on my system, glee.h was the only file I found to contain definition for that function (glext.h didn’t contain it).