Window System doesn ' t support OpenGL (Raspberry Pi)

Source: Internet
Author: User

problem occurs:

When using OpenCV on the raspberry pie, the following error occurred:

Window System doesn ' t support OpenGL

After positioning, found that the error occurred in Cvshowimage, after analysis, the reason is that the raspberry system is installed in the easy version of OpenGL, so do not support cvshowimage, the solution is as follows solutions.

Turn from: Http://raspberrypi.stackexchange.com/questions/40438/opencv-display-image-window-system-doesnt-support-opengl

Problem:

I have a project which uses the Raspberry Pi camera and OpenCV to doing some analysis. However, when I want to display the image (with the OpenCV API/a ROS node), there ' s an error saying

Window System doesn ' t support OpenGL

Solutions:

Raspberry Pi doesn ' t come with OpenGL support by default, but it's a simple installation. I believe you the just need to install Libgl1-mesa-dri. Can do this at the command line Using:code:

$  apt-get Update
$  apt-get Install Libgl1-mesa-dri

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.