An open API service indexing awesome lists of open source software.

https://github.com/czoido/raspberrypi-opengles

Cross-compile OpenGLES applications without X in a Raspberry Pi using Docker and Conan
https://github.com/czoido/raspberrypi-opengles

conan cross-compilation opengles raspberry-pi

Last synced: 6 months ago
JSON representation

Cross-compile OpenGLES applications without X in a Raspberry Pi using Docker and Conan

Awesome Lists containing this project

README

          

# Cross-compile OpenGLES applications without X

Cross-compile OpenGLES applications without X from a Docker image with Conan. It has a basic implementation of Conan System Packages for:

- OpenGLES
- DRM (Direct Rendering Manager)
- GBM (Graphics Buffer Manager)

Build the Docker image and run it:

```
docker build -t rpi-opengles docker_images
docker run -v $(pwd)/kmscube:/home/kmscube -it rpi-opengles
```

Inside the Docker image you can cross-compile the [kmscube application](https://gitlab.freedesktop.org/mesa/kmscube/) for Raspberry Pi

```
cd /home/kmscube/
conan create . -pr:h=rpi -pr:b=default
```

# References:

- https://gitlab.freedesktop.org/mesa/kmscube/
- https://drgeoffathome.wordpress.com/2020/02/03/opengl-without-x-on-raspberry-pi-4-part-1/