Comments (6)
Thank you! I replaced the EGL and GLES attributes in binding.gyp with -lbrcmEGL and -lbrcmGLESv2. After that
rm -rf node_modules/aminogfx-gl/build
npm rebuild
Now it works!
(I'm using nodejs v8.9.3 and npm 5.5.1)
from aminogfx-gl.
from aminogfx-gl.
Yes, I'm using it on my Raspberry Pi Zero W.
from aminogfx-gl.
Which Node version are you using? I am using Stretch with Node 7.10.1 for instance.
Does a rebuild work? Looks like a library mismatch.
from aminogfx-gl.
In Raspberry Stretch the GLES libs have been renamed, to avoid name collisions with non RPI-specific linux gles libraries. They renamed libEGL.so and libGLESv2.so to libbrcmEGL.so and libbrcmGLESv2.so so you will will need to link to the new libs on stretch.
from aminogfx-gl.
Thanks for this details. I upgraded our system to Stretch and it seems the original files were kept together with the renamed ones. Therefore builds were still running.
I will add the Stretch settings to the build file. However, I could not find a way to support Jessie and Stretch in parallel using Gyp. So it will be Jessie by default for now. Hopefully there is a better way to support optional libraries or filter by OS subversion.
Closing the thread. Feel free to comment if you know a way to support Jessie and Stretch in a single Gyp file.
from aminogfx-gl.
Related Issues (11)
- White screen on second launch HOT 1
- Layers test performance when using an actual image ~20 FPS HOT 1
- failed to add service - already in use if OpenGL driver installed HOT 3
- Opacity does not work anymore HOT 1
- Dependencies missing and compiling problems HOT 2
- Rpi3 Buster HOT 4
- Video Crossfade
- Transparent app HOT 7
- Building on other platform: getTime was not declared in this scope HOT 9
- When using 3d mode you lose 8-bit transparency HOT 2
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 aminogfx-gl.