-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P/NPM install gl fails (gl is not compatible with GCC13) #271
Comments
@SomeAspy I found this issue gpujs/gpu.js#770 (comment) which points to GCC13 being the cause. I was building the binary in a docker container with the docker image Of course it would be great if the binary could be built with GCC13 :) |
After messing around with the dockerfile a bit I was able to get it to build. FROM node:21.5.0-alpine3.18
RUN apk add libxext-dev python3 pkgconf libxi-dev make g++ mesa-dev --no-cache as you said, it would be nice to get this working with GCC13, so I don't have to spin up a docker container just to build. |
I'm hitting this error even though I tried multiple versions of GCC. (13, 12, 11, and 10) However, adding the required library (to Hey @dhritzkiv, |
We suffer from this problem for more than one year. https://github.com/linev/headless-gl https://www.npmjs.com/package/jsroot-gl I hope that such simple fix also can be applied here as well. |
Hey @linev, thanks for putting up a fork and publishing the package with the fix. I wonder would it be possible to also upload the pre-built binaries like it's being done in this repo? It'd make the install process with the additional patch much easier to use, at least in our case |
@ilijapuaca That is procedure to upload pre-build binaries? |
I am not quite sure, I assume that they get uploaded as part of the publish/release process |
Hi all. Sorry for the long wait. The fix is merged in and available in v8.0.2 |
I have re-read the readme section a few times, but I have been unable to get this to build.
I'm pretty sure this is something I am doing wrong.
I am on Arch Linux with Node 21.5.0
If I am missing any expected details, I apologize.
Possibly related to #270, however I don't have the python issue they have here:
The text was updated successfully, but these errors were encountered: