Comments (2)
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.
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)
- * failed to add service - already in use? HOT 3
- RPI4: failed to add service - already in use? HOT 4
- Running triangle_rpi4.c does not require HDMI connection HOT 1
- Compiling Error on RPI 3 HOT 2
- "Unable to get connector" when using a Pi Compute Module 4 HOT 2
- raspbian eGL issue HOT 4
- PI4 support? HOT 20
- DRM failed to get resources HOT 5
- Double buffer issue HOT 2
- PI4 dual display with common context HOT 9
- Pi4 with LCD output has no vsync HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-opengl-without-x.