I have tried to set up a light, the light is there but it is rotating with the cube ! why ? I want it to be still
Make sure you are declaring the light’s position (GL_POSITION) outside of the matrix manipulations which rotate the cube. Additionally, make sure you are using a value to incrementally change the rotation of the cube (encapsulating within a Push and Pop) and not stacking the rotate calls every frame.
My 2 cents…