Failed to load libGLESv2.so

Hi, I’ve upgraded NWJS Version from 0.24.4 (works fine) to 0.25 SDK, made a build for linux (ubuntu 16), on macos using https://github.com/evshiron/nwjs-builder-phoenix. win, macos builds – work fine.

while starting app on linux I see blank screen, running app from terminal leads to error output in cycle.

[3594:3594:0907/105316.147021:ERROR:gl_implementation.cc(245)] Failed to load /linux-x64/swiftshader/libGLESv2.so: /linux-x64/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[3594:3594:0907/105316.152250:ERROR:gpu_child_thread.cc(252)] Exiting GPU process due to errors during initialization

Downloaded directly https://dl.nwjs.io/v0.25.0/nwjs-sdk-v0.25.0-linux-x64.tar.gz – starts and is operational, including dev-tools

Author: Fantashit

1 thought on “Failed to load libGLESv2.so

  1. Welcome to the club, I did a workaround as well.
    Install libgles2-mesa package or something like that – it will install necessary libs. Created directory in project root swiftshader and find at system you install libgles2-mesa all files libEGL.so.* and libEGL.so.* (total 4 or 6 files, do not copy symlinks) and copy to newly created directory – you are done.

Comments are closed.