The error message seems clear to me, you don't have a properly configured OpenGL setup. I mean even from a user point of view, not only from a developer one's. Get help from your distro boards to setup OpenGL for your hardware. Hint: you're done when 'glxgears' shows up nice gears running at fast pace.