enter image description here

I got this error during compilation.

  • Can you try setting your environment variable setenv DISPLAY host: 1 . Will this help? – techEmbedded Mar 31 '16 at 12:52
  • Hello and welcome. Could you please try to make a picture snippet that focuses on the issue? – Ghanima Mar 31 '16 at 13:01
  • xlib: extension "RANDR" missing on display ":1.0". (Adding faces to traning set...:1401): GdkGLExt-WARNING **: Window system doesn't support OpenGL. – happy Mar 31 '16 at 13:28
  • You should edit your question to include these details, not add them as comments. – Steve Robillard Apr 1 '16 at 5:24
  • i used ths code on raspberry "hanzratech.in/2015/02/03/… when I tried to execute it i got that error ,it must display some photo – happy Apr 2 '16 at 16:34

Possible your problem is like OpenCV display image: window system doesn't support opengl here. Can you try installing libgl1-mesa-dri

sudo apt-get update
sudo apt-get install libgl1-mesa-dri


| improve this answer | |
  • I got the same error despite installing it :( – happy Mar 31 '16 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.