-1

enter image description here

I got this error during compilation.

5
  • Can you try setting your environment variable setenv DISPLAY host: 1 . Will this help? Commented Mar 31, 2016 at 12:52
  • Hello and welcome. Could you please try to make a picture snippet that focuses on the issue? Commented Mar 31, 2016 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. Commented Mar 31, 2016 at 13:28
  • You should edit your question to include these details, not add them as comments. Commented Apr 1, 2016 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 Commented Apr 2, 2016 at 16:34

1 Answer 1

-1

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

Regards

1
  • I got the same error despite installing it :( Commented Mar 31, 2016 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.