OpenGL on jetson nano

Can anybody point me in the direction to install OpenGL on my nano.I read that the nano does support it now.
I am working on a gstreamer plugin for the kinectv2. I can get it to compile and work on my ubuntu desktop. But when I compile on the nano I am getting these errors

(“GL_DEBUG_SOURCE_APPLICATION” undeclared, do you mean"GL_DEBUG_SOURCE_APPLICATION_KHR")

I think it has to do with the version of OpenGL. Any Ideas?

Well it looks like all I had to do was add “_KHR” to all the"GL_DEBUGS" that were undeclared and that took care of issue