Skip to content
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

webgl.node: undefined symbol: _Z15XextFindDisplayP15_XExtensionInfoP9_XDisplay #505

Closed
brunobcfum opened this issue Sep 26, 2019 · 4 comments

Comments

@brunobcfum
Copy link

When installing for the first time I had undefined symbol issues.
node_modules/gl/build/Release/webgl.node: undefined symbol: _Z15XextFindDisplayP15_XExtensionInfoP9_XDisplay

To solve I had to download headless-gl and recompile. Lates I copied the webgl.node file to my gpu.js app and it worked fine. Is it supposed to be like that? Couldn't find any mention on the documentation.

I'm running Node 8.10 and Xubuntu with NVIDIA 390 drivers.

Steps to build webgl.node:
Clone this repo: git clone git@github.com:stackgl/headless-gl.git
Switch to the headless gl directory: cd headless-gl
Initialize the angle submodule: git submodule init
Update the angle submodule: git submodule update
Install npm dependencies: npm install
Run node-gyp to generate build scripts: npm run rebuild

@robertleeplummerjr
Copy link
Member

Is anyone else seeing this?

@vorticalbox
Copy link

vorticalbox commented Nov 19, 2019

I am seeing this when training NeuralNetworkGPU from brain.js

OS linux mint 19

node: 10.17 and 12.13

BrainJS/brain.js#481

@Yanonix
Copy link

Yanonix commented Nov 22, 2019

I also see this when running tests in mapbox-gl-js
gl: 4.3.3
node: v8.10.0 on Ubuntu 18.04.3

@robertleeplummerjr
Copy link
Member

Solved by stackgl/headless-gl#65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants