Git Product home page Git Product logo

Comments (2)

qwert666 avatar qwert666 commented on May 25, 2024 1

I've just installed a lite "bullseyes" on a raspberry pi Zero 2 W, as I wanted to try out a setup with displaying OpenGL shaders to a led-matrix display.

After a fresh installed system you'll not have all the required drivers in place, but you can easily build them:

> git clone https://github.com/raspberrypi/userland.git
> cd userland
> sudo ./buildme

after this you'll have all the required and proper libs in place:

> ls /opt/vc/lib
libEGL.so        libGLESv2.so        libWFC.so       libbrcmGLESv2.so  libcontainers.so       libdtovl.so         libkhrn_static.a       libmmal_core.so       libopenmaxil.so  libvcilcs.a  pkgconfig
libEGL_static.a  libGLESv2_static.a  libbcm_host.so  libbrcmOpenVG.so  libdebug_sym.so        libelftoolchain.so  libmmal.so             libmmal_util.so       libvchiq_arm.so  libvcos.so   plugins
libGLESv1_CM.so  libOpenVG.so        libbrcmEGL.so  ...

switching between lbrcmGLESv2 and lGLESv2 doesn't make any difference for me, both works completely fine 🤔

from rpi-opengl-without-x.

mbeckerle-xqueue avatar mbeckerle-xqueue commented on May 25, 2024

Thank you, Michal!
That was the missing link. For anyone reading this: after building userland, the files were available and compiling worked but I got another error:
./triangle: error while loading shared libraries: libbrcmEGL.so: cannot open shared object file: No such file or directory
I missed to set LD_LIBRARY_PATH so to solve it I just had to set:
LD_LIBRARY_PATH=/opt/vc/lib

from rpi-opengl-without-x.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.