Giter Club home page Giter Club logo

Comments (6)

T94T avatar T94T commented on September 12, 2024 1

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.

joshmarinacci avatar joshmarinacci commented on September 12, 2024

from aminogfx-gl.

T94T avatar T94T commented on September 12, 2024

Yes, I'm using it on my Raspberry Pi Zero W.

from aminogfx-gl.

cbratschi avatar cbratschi commented on September 12, 2024

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.

gepatto avatar gepatto commented on September 12, 2024

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.

cbratschi avatar cbratschi commented on September 12, 2024

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)

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.